« 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. online marketing

    Tracked from online marketing 03 30, 2020 06:07 Delete

    Get very professional placement company available now in addition properly priced now!

  2. project management

    Tracked from project management 03 31, 2020 12:19 Delete

    Get in contract here for licensed and insured building erectors ready for your building projects and get you going with the end result you are dreaming of. Let us bid your project today!

  3. we buy houses companies

    Tracked from we buy houses companies 04 2, 2020 01:54 Delete

    Get moving now with with cash offer on house currently currently available additionally reasonably priced for today only!

  4. metal building kits

    Tracked from metal building kits 04 3, 2020 08:35 Delete

    Contract us here for professional and bonded metal church buildings contractor ready for your building projects and get you going with the end result you want. Let us bid your project today!

  5. go to website

    Tracked from go to website 04 3, 2020 13:44 Delete

    Get started today with luxury villas los cabos that is currently available additionally at a great price for today only!

  6. cabo san lucas packages

    Tracked from cabo san lucas packages 04 3, 2020 20:36 Delete

    Get started today with cabo san lucas house rentals that are currently available and at reasonable prices today only!

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. project management project management %M
  2. cabo villas for rent cabo villas for rent %M
  3. buy my house fast buy my house fast %M
  4. buy my house now buy my house now %M
  5. how to sell a house quickly how to sell a house quickly 3 04

Calendar

«   04 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    

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 2902926 HIT
TODAY 319 HIT
YESTERDAY 1312 HIT