« Previous : 1 : 2 : 3 : 4 : 5 : ... 9 : Next »

HDFS - Python Encoding 오류 처리

Posted 08 26, 2016 17:54, Filed under: BigData/HDP_for_HDFS



> 에러 내용
  File "/usr/lib/python2.6/site-packages/resource_management/core/logger.py", line 101, in filter_text
    text = text.replace(unprotected_string, protected_string)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xea in position 117: ordinal not in range(128)


> Python Default Encoding 수정
[root@peaceful ~]# vi /usr/lib/python2.6/site-packages/site.py
def __boot():
    import sys, imp, os, os.path
    sys.setdefaultencoding("utf-8")
    PYTHONPATH = os.environ.get('PYTHONPATH')
    if PYTHONPATH is None or (sys.platform=='win32' and not PYTHONPATH):
        PYTHONPATH = []
    else:
        PYTHONPATH = PYTHONPATH.split(os.pathsep)





※ 위 내용은, 여러 자료를 참고하거나 제가 주관적으로 정리한 것입니다.
   잘못된 정보나 보완이 필요한 부분을, 댓글 또는 메일로 보내주시면 많은 도움이 되겠습니다.
08 26, 2016 17:54 08 26, 2016 17:54


Trackback URL : http://develop.sunshiny.co.kr/trackback/1064

  1. seo outsourcing services

    Tracked from seo outsourcing services 12 9, 2019 02:06 Delete

    Locate the pro search engine optimization consultant that is now available in addition with a great ROI today only!

  2. synchronazation communication systems

    Tracked from synchronazation communication systems 12 9, 2019 07:25 Delete

    Start using the best school pa systems that are this week and available plus in stock now in addition reasonably priced now only!

  3. find out this here

    Tracked from find out this here 12 9, 2019 08:24 Delete

    Get here professional social media localization currently taking on new clients in addition on sale now!

Leave a comment

« Previous : 1 : 2 : 3 : 4 : 5 : ... 9 : Next »

Recent Posts

  1. HDFS - Python Encoding 오류 처리
  2. HP - Vertica ROS Container 관련 오류...
  3. HDFS - Hive 실행시 System Time 오류
  4. HP - Vertica 사용자 쿼리 이력 테이블...
  5. Client에서 HDFS 환경의 데이터 처리시...

Recent Comments

  1. 안녕하세요^^ 배그핵
  2. 안녕하세요^^ 도움이 되셨다니, 저... sunshiny
  3. 정말 큰 도움이 되었습니다.. 감사합... 사랑은
  4. 네, 안녕하세요. 댓글 남겨 주셔서... sunshiny
  5. 감사합니다 많은 도움 되었습니다!ㅎㅎ 프리시퀸스

Recent Trackbacks

  1. facebook marketing company facebook marketing company %M
  2. check it out here check it out here %M
  3. synchronized wireless clock systems synchronized wireless clock systems %M
  4. find out this here find out this here %M
  5. selling social media services selling social media services %M

Calendar

«   12 2019   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Bookmarks

  1. 위키피디아
  2. MysqlKorea
  3. 오라클 클럽
  4. API - Java
  5. Apache Hadoop API
  6. Apache Software Foundation
  7. HDFS 생태계 솔루션
  8. DNSBL - Spam Database Lookup
  9. Ready System
  10. Solaris Freeware
  11. Linux-Site
  12. 윈디하나의 솔라나라

Site Stats

TOTAL 2778986 HIT
TODAY 1179 HIT
YESTERDAY 532 HIT