Search Results for 'decode'

2 POSTS

  1. 2016|08 HDFS - Python Encoding 오류 처리 (1)
  2. 2009|02 Oracle - DECODE() 함수 - if else 와 같은 효과

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. vrbo liability insurance

    Tracked from vrbo liability insurance 02 11, 2020 02:55 Delete

    Get started today with amazing vacation property insurance that is currently available and on sale for today only!

  2. wireless synchronized clocks

    Tracked from wireless synchronized clocks 02 11, 2020 04:49 Delete

    Procure now the top pa system for school currently this week and available plus in stock now in addition installed by professionals now only!

  3. robbins and dean graziosi

    Tracked from robbins and dean graziosi 02 14, 2020 22:44 Delete

    Find the best profitable mastermind that's for purchase and currently available today!

  1. # 레깅스룸 2020年 02月 16日 13時 38分 Delete Reply

    Article writing is also a excitement, if you know then you can write if
    not it is complex to write.

Leave a comment


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. Article writing is also a exciteme... 레깅스룸 02 16,
  2. I like reading an article that can... 부산고구려 02 16,
  3. Asking questions are truly nice th... 해운대룸싸롱 02 15,
  4. Pretty! This was an extremely wond... 분당셔츠룸 02 15,
  5. Wonderful beat ! I would like to a... 레깅스룸가격 02 14,

Recent Trackbacks

  1. london relocation ltd london relocation ltd 16 02
  2. extract your knowledge extract your knowledge 16 02
  3. dog cart dog cart 15 02
  4. This Site This Site 15 02
  5. massive action massive action 15 02

Calendar

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

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 2846549 HIT
TODAY 111 HIT
YESTERDAY 544 HIT