메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

Bigdata, Hadoop ecosystem, Semantic IoT등의 프로젝트를 진행중에 습득한 내용을 정리하는 곳입니다.
필요한 분을 위해서 공개하고 있습니다. 문의사항은 gooper@gooper.com로 메일을 보내주세요.


Hive가 "GROUP BY"에서 최적화하면서 내부적으로 컬럼을 추가하여 reducer로 보내는데 이 컬럼은 실존하지 않는 컬럼으로 문제가 발생할 수 있음
hive 0.14.0에서 default가 disabled되었는데 이전 버전에서는 default가 enabled로 되어 있어서 문제가 발생하면
set hive.optimize.sort.dynamic.partition=false;
를 추가하여 준다.

-----오류내용----
2015-06-15 14:12:01,345 INFO [AsyncDispatcher event handler] org.apache.hadoop.mapreduce.v2.app.job.impl.TaskImpl: task_1434344795088_0005_r_000000 Task Transitioned from SCHEDULED to RUNNING
2015-06-15 14:12:02,327 INFO [RMCommunicator Allocator] org.apache.hadoop.mapreduce.v2.app.rm.RMContainerRequestor: getResources() for application_1434344795088_0005: ask=1 release= 0 newContainers=0 finishedContainers=0 resourcelimit=<memory:0, vCores:0> knownNMs=5
2015-06-15 14:12:03,067 INFO [Socket Reader #1 for port 47209] SecurityLogger.org.apache.hadoop.ipc.Server: Auth successful for job_1434344795088_0005 (auth:SIMPLE)
2015-06-15 14:12:03,079 INFO [IPC Server handler 2 on 47209] org.apache.hadoop.mapred.TaskAttemptListenerImpl: JVM with ID : jvm_1434344795088_0005_r_000003 asked for a task
2015-06-15 14:12:03,079 INFO [IPC Server handler 2 on 47209] org.apache.hadoop.mapred.TaskAttemptListenerImpl: JVM with ID: jvm_1434344795088_0005_r_000003 given task: attempt_1434344795088_0005_r_000000_0
2015-06-15 14:12:04,185 INFO [IPC Server handler 1 on 47209] org.apache.hadoop.mapred.TaskAttemptListenerImpl: MapCompletionEvents request from attempt_1434344795088_0005_r_000000_0. startIndex 0 maxEvents 10000
2015-06-15 14:12:04,363 INFO [IPC Server handler 2 on 47209] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Progress of TaskAttempt attempt_1434344795088_0005_r_000000_0 is : 0.0
2015-06-15 14:12:04,382 INFO [IPC Server handler 6 on 47209] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Progress of TaskAttempt attempt_1434344795088_0005_r_000000_0 is : 0.0
2015-06-15 14:12:04,769 INFO [IPC Server handler 7 on 47209] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Progress of TaskAttempt attempt_1434344795088_0005_r_000000_0 is : 0.0
2015-06-15 14:12:04,772 FATAL [IPC Server handler 9 on 47209] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Task: attempt_1434344795088_0005_r_000000_0 - exited : java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error: Unable to deserialize reduce input key from x1x50x48x49x53x45x48x54x45x49x53x32x49x52x58x49x49x58x52x53x0x1x50x48x49x53x45x48x54x45x48x51x0x1x50x48x49x53x45x48x54x45x48x51x32x49x53x58x49x57x58x48x49x46x0x1x50x50x48x46x57x48x46x50x49x54x46x55x51x0x1x104x116x116x112x58x47x47x50x50x48x46x57x48x46x50x0x1x71x69x84x0x1x187x154x203x138x255 with properties {columns=reducesinkkey0,reducesinkkey1,reducesinkkey2,reducesinkkey3,reducesinkkey4,reducesinkkey5,reducesinkkey6, serialization.lib=org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe, serialization.sort.order=+++++++, columns.types=string,string,string,string,string,string,string}
	at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:283)
	at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:444)
	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:392)
	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)
	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:163)
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error: Unable to deserialize reduce input key from x1x50x48x49x53x45x48x54x45x49x53x32x49x52x58x49x49x58x52x53x0x1x50x48x49x53x45x48x54x45x48x51x0x1x50x48x49x53x45x48x54x45x48x51x32x49x53x58x49x57x58x48x49x46x0x1x50x50x48x46x57x48x46x50x49x54x46x55x51x0x1x104x116x116x112x58x47x47x50x50x48x46x57x48x46x50x0x1x71x69x84x0x1x187x154x203x138x255 with properties {columns=reducesinkkey0,reducesinkkey1,reducesinkkey2,reducesinkkey3,reducesinkkey4,reducesinkkey5,reducesinkkey6, serialization.lib=org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe, serialization.sort.order=+++++++, columns.types=string,string,string,string,string,string,string}
	at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:222)
	... 7 more
Caused by: org.apache.hadoop.hive.serde2.SerDeException: java.io.EOFException
	at org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.deserialize(BinarySortableSerDe.java:189)
	at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:220)
	... 7 more
Caused by: java.io.EOFException
	at org.apache.hadoop.hive.serde2.binarysortable.InputByteBuffer.read(InputByteBuffer.java:54)
	at org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.deserializeText(BinarySortableSerDe.java:550)
	at org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.deserialize(BinarySortableSerDe.java:285)
	at org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.deserialize(BinarySortableSerDe.java:185)
	... 8 more

2015-06-15 14:12:04,772 INFO [IPC Server handler 9 on 47209] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Diagnostics report from attempt_1434344795088_0005_r_000000_0: Error: java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error: Unable to deserialize reduce input key from x1x50x48x49x53x45x48x54x45x49x53x32x49x52x58x49x49x58x52x53x0x1x50x48x49x53x45x48x54x45x48x51x0x1x50x48x49x53x45x48x54x45x48x51x32x49x53x58x49x57x58x48x49x46x0x1x50x50x48x46x57x48x46x50x49x54x46x55x51x0x1x104x116x116x112x58x47x47x50x50x48x46x57x48x46x50x0x1x71x69x84x0x1x187x154x203x138x255 with properties {columns=reducesinkkey0,reducesinkkey1,reducesinkkey2,reducesinkkey3,reducesinkkey4,reducesinkkey5,reducesinkkey6, serialization.lib=org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe, serialization.sort.order=+++++++, columns.types=string,string,string,string,string,string,string}
	at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:283)
	at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:444)
	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:392)
	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)
	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:163)
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error: Unable to deserialize reduce input key from x1x50x48x49x53x45x48x54x45x49x53x32x49x52x58x49x49x58x52x53x0x1x50x48x49x53x45x48x54x45x48x51x0x1x50x48x49x53x45x48x54x45x48x51x32x49x53x58x49x57x58x48x49x46x0x1x50x50x48x46x57x48x46x50x49x54x46x55x51x0x1x104x116x116x112x58x47x47x50x50x48x46x57x48x46x50x0x1x71x69x84x0x1x187x154x203x138x255 with properties {columns=reducesinkkey0,reducesinkkey1,reducesinkkey2,reducesinkkey3,reducesinkkey4,reducesinkkey5,reducesinkkey6, serialization.lib=org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe, serialization.sort.order=+++++++, columns.types=string,string,string,string,string,string,string}
	at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:222)
	... 7 more
Caused by: org.apache.hadoop.hive.serde2.SerDeException: java.io.EOFException
	at org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.deserialize(BinarySortableSerDe.java:189)
	at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:220)
	... 7 more
Caused by: java.io.EOFException
	at org.apache.hadoop.hive.serde2.binarysortable.InputByteBuffer.read(InputByteBuffer.java:54)
	at org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.deserializeText(BinarySortableSerDe.java:550)
	at org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.deserialize(BinarySortableSerDe.java:285)
	at org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.deserialize(BinarySortableSerDe.java:185)
	... 8 more

2015-06-15 14:12:04,773 INFO [AsyncDispatcher event handler] org.apache.hadoop.mapreduce.v2.app.job.impl.TaskAttemptImpl: Diagnostics report from attempt_1434344795088_0005_r_000000_0: Error: java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error: Unable to deserialize reduce input key from x1x50x48x49x53x45x48x54x45x49x53x32x49x52x58x49x49x58x52x53x0x1x50x48x49x53x45x48x54x45x48x51x0x1x50x48x49x53x45x48x54x45x48x51x32x49x53x58x49x57x58x48x49x46x0x1x50x50x48x46x57x48x46x50x49x54x46x55x51x0x1x104x116x116x112x58x47x47x50x50x48x46x57x48x46x50x0x1x71x69x84x0x1x187x154x203x138x255 with properties {columns=reducesinkkey0,reducesinkkey1,reducesinkkey2,reducesinkkey3,reducesinkkey4,reducesinkkey5,reducesinkkey6, serialization.lib=org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe, serialization.sort.order=+++++++, columns.types=string,string,string,string,string,string,string}
	at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:283)
	at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:444)
	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:392)
	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)
	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:163)
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error: Unable to deserialize reduce input key from x1x50x48x49x53x45x48x54x45x49x53x32x49x52x58x49x49x58x52x53x0x1x50x48x49x53x45x48x54x45x48x51x0x1x50x48x49x53x45x48x54x45x48x51x32x49x53x58x49x57x58x48x49x46x0x1x50x50x48x46x57x48x46x50x49x54x46x55x51x0x1x104x116x116x112x58x47x47x50x50x48x46x57x48x46x50x0x1x71x69x84x0x1x187x154x203x138x255 with properties {columns=reducesinkkey0,reducesinkkey1,reducesinkkey2,reducesinkkey3,reducesinkkey4,reducesinkkey5,reducesinkkey6, serialization.lib=org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe, serialization.sort.order=+++++++, columns.types=string,string,string,string,string,string,string}
	at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:222)
	... 7 more
Caused by: org.apache.hadoop.hive.serde2.SerDeException: java.io.EOFException
	at org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.deserialize(BinarySortableSerDe.java:189)
	at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:220)
	... 7 more
Caused by: java.io.EOFException
	at org.apache.hadoop.hive.serde2.binarysortable.InputByteBuffer.read(InputByteBuffer.java:54)
	at org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.deserializeText(BinarySortableSerDe.java:550)
	at org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.deserialize(BinarySortableSerDe.java:285)
	at org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.deserialize(BinarySortableSerDe.java:185)
	... 8 more
번호 제목 글쓴이 날짜 조회 수
160 console명령과 API비교 총관리자 2015.12.21 120
159 java quartz 시간 설정 참고사항 총관리자 2015.12.16 179
158 천문학적, 기후학적, 기상학적, 생물학적, 농사계절 구분 총관리자 2015.12.16 150
157 대표 오픈소스 라이선스, 한 눈에 보기! 총관리자 2015.12.10 168
156 sparql 문법구조 설명 file 총관리자 2015.12.09 378
155 git설명 한글판 총관리자 2015.12.09 358
154 protege 4.3 다운로드 총관리자 2015.12.09 126
153 ontology, jena, sparql등 전반에 대한 설명및 예제를 제공하는 사이트 총관리자 2015.12.08 427
152 마이바티스(MyBatis)쿼리로그 출력및 정렬하기 총관리자 2015.12.01 1449
151 sparql에서 concat에제 총관리자 2015.11.27 161
150 Runtime.getRuntime().exec(cmd) sample 소스 총관리자 2015.11.19 305
149 Resource temporarily unavailable(자원이 일시적으로 사용 불가능함) 오류조치 총관리자 2015.11.19 6838
148 mybais #과 $의 차이점 총관리자 2015.11.10 178
147 Mybatis foreach 문법정리(상황에 따른 사용법) 총관리자 2015.11.10 1151
146 DB별 JDBC 드라이버 총관리자 2015.10.02 256
145 root계정으로 MariaDB설치후 mysql -u root -p로 db에 접근하여 바로 해줘야 하는일..(케릭터셑은 utf8) 총관리자 2015.10.02 361
144 SQL문장과 Mongo에서 사용하는 명령어를 비교한 것입니다. 총관리자 2015.09.30 141
143 mongodb 2.6.6 설치(64bit) 총관리자 2015.09.30 185
142 pom.xml에서 build.gradle로 변환 총관리자 2015.09.14 201
141 부팅을 외장하드에서 하도록 변경하는 방법 총관리자 2015.07.28 247

A personal place to organize information learned during the development of such Hadoop, Hive, Hbase, Semantic IoT, etc.
We are open to the required minutes. Please send inquiries to gooper@gooper.com.

위로