« Previous : 1 : 2 : 3 : 4 : 5 : ... 65 : 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. dog wheelchair cost

    Tracked from dog wheelchair cost 05 26, 2020 19:12 Delete

    Get here professional animal wheelchair ideas currently open for service and reasonably priced now!

  2. her latest blog

    Tracked from her latest blog 05 27, 2020 03:25 Delete

    Find very professional print and mail service right now on sale and gets you ROI now!

  3. check over here

    Tracked from check over here 05 29, 2020 17:16 Delete

    Get very professional bill printing services currently on sale and gets you ROI now!

  4. clock synchronization software

    Tracked from clock synchronization software 06 2, 2020 12:16 Delete

    Save now the top School bell system that's this week available and in stock and at the best price this week only!

  5. personal protective equipment

    Tracked from personal protective equipment 06 12, 2020 16:32 Delete

    Profit from amazing safety accessoriescurrently open for service in addition on sale now!

  6. safety goggles

    Tracked from safety goggles 06 15, 2020 08:37 Delete

    Profit from professional hard hatscurrently taking on new clients in addition on sale now!

  7. how to create a roku channel

    Tracked from how to create a roku channel 06 23, 2020 13:32 Delete

    Profit from amazing how to create your own tv show currently open for service and reasonably priced now!

  8. best dog wheelchair

    Tracked from best dog wheelchair 07 5, 2020 03:12 Delete

    Get here amazing dog cart currently open for service in addition on sale now!

  9. phoenix marketing solutions

    Tracked from phoenix marketing solutions 07 5, 2020 03:24 Delete

    Hire the best phoenix ppc that is now available and on sale now only!

Leave a comment
[로그인][오픈아이디란?]
오픈아이디로만 댓글을 남길 수 있습니다

« Previous : 1 : 2 : 3 : 4 : 5 : ... 65 : 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. phoenix seo phoenix seo %M
  2. animal mobility services animal mobility services %M
  3. face masks face masks %M
  4. healer healer 5 07
  5. small dog wheelchair small dog wheelchair 5 07

Calendar

«   07 2020   »
      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 3000415 HIT
TODAY 867 HIT
YESTERDAY 401 HIT