>>> hiveCtx.sql("select a2.cust_id,a1.product,rating," + end_date +" date "+ " from all_score a1,id_cid a2 " + "where a1.user=a2.id").show(5) 17/08/30 10:18:22 WARN TaskSetManager: Stage 417 contains a task of very large size (3118 KB). The maximum recommended task size is 100 KB. +------------+--------+------------------+--------+ | cust_id| product| rating| date| +------------+--------+------------------+--------+ |110101100985|90190202| 25.33671962331747|20170830| |110101100985|34030326|23.906456902069216|20170830| |110101100985|90020726|16.010945324507635|20170830| |110101100985|90190101|15.628847628582498|20170830| |110101100985|90020727|15.442605374580097|20170830| +------------+--------+------------------+--------+ only showing top 5 rows >>> hiveCtx.sql("SELECT NATION_CUST_CODE FROM yxpt.CO_CUST limit 3").show(3) +----------------+ |NATION_CUST_CODE| +----------------+ | 110114190495| | 110115203224| | 110108209145| +----------------+ >>> >>> hiveCtx.sql("SELECT * from id_cid limit 3").show(3) +-----+------------+ | id| cust_id| +-----+------------+ | 4549|110105106838| |12992|110108207746| |30968|110228100250| +-----+------------+ >>> hiveCtx.sql("SELECT * from id_cid limit 5").show(5) +-----+------------+ | id| cust_id| +-----+------------+ | 4549|110105106838| |12992|110108207746| |30968|110228100250| |22213|110114100048| |19728|110113101105| +-----+------------+ >>> hiveCtx.sql("select B.NATION_CUST_CODE CUST_CODE "+" from yxpt.CO_CUST B,id_cid A "+" where B.CUST_ID=A.CUST_ID limit 3").show(3) +------------+ | CUST_CODE| +------------+ |110105106838| |110108207746| |110228100250| +------------+ >>> hiveCtx.sql("select B.NATION_CUST_CODE CUST_CODE "+" from yxpt.CO_CUST B,id_cid A "+" where B.CUST_ID=A.CUST_ID limit 3 ").show(3) +------------+ | CUST_CODE| +------------+ |110105106838| |110108207746| |110228100250| +------------+ >>> hiveCtx.sql("select C.PACK_BAR "+" from yxpt.PLM_ITEM C,all_score D "+" where C.ITEM_ID=D.product limit 3").show(3) 17/08/30 15:08:24 WARN TaskSetManager: Stage 448 contains a task of very large size (3118 KB). The maximum recommended task size is 100 KB. +-------------+ | PACK_BAR| +-------------+ |6901028032957| |4893225033276| |6901028208550| +-------------+ >>> hiveCtx.sql("select * from all_score limit 5").show(3) 17/08/30 16:09:04 WARN TaskSetManager: Stage 465 contains a task of very large size (3118 KB). The maximum recommended task size is 100 KB. +-----+--------+------------------+ | user| product| rating| +-----+--------+------------------+ |27456|51520615| 35.52432167919441| |27456|90020219|29.566229211420946| |27456|34030316| 28.08260143903327| +-----+--------+------------------+ only showing top 3 rows >>> hiveCtx.sql("select CO_CUST_T.NATION_CUST_CODE CUST_CODE "+" from yxpt.CO_CUST CO_CUST_T,id_cid id_cid_t "+" where CO_CUST_T.CUST_ID=id_cid_t.CUST_ID limit 3").show(3) +------------+ | CUST_CODE| +------------+ |110105106838| |110108207746| |110228100250| +------------+ >>> hiveCtx.sql("select PLM_ITEM_T.PACK_BAR "+" from yxpt.PLM_ITEM PLM_ITEM_T,all_score all_score_t "+" where PLM_ITEM_T.ITEM_ID=all_score_t.product limit 3").show(3) 17/08/30 18:32:13 WARN TaskSetManager: Stage 481 contains a task of very large size (3118 KB). The maximum recommended task size is 100 KB. +-------------+ | PACK_BAR| +-------------+ |6901028032957| |4893225033276| |6901028208550| +-------------+ >>> hiveCtx.sql("select * from all_score limit 5").show(3) 17/08/30 23:53:47 WARN TaskSetManager: Stage 482 contains a task of very large size (3118 KB). The maximum recommended task size is 100 KB. +-----+--------+------------------+ | user| product| rating| +-----+--------+------------------+ |27456|51520615| 35.52432167919441| |27456|90020219|29.566229211420946| |27456|34030316| 28.08260143903327| +-----+--------+------------------+ only showing top 3 rows >>> hiveCtx.sql("SELECT * from id_cid limit 5").show(5) +-----+------------+ | id| cust_id| +-----+------------+ | 4549|110105106838| |12992|110108207746| |30968|110228100250| |22213|110114100048| |19728|110113101105| +-----+------------+ >>> hiveCtx.sql("insert into table yxpt.pi_cust_item_recommend2 PARTITION (ymday='"+end_date +"') select a2.cust_id,a1.product,rating "+ " from all_score a1,id_cid a2 " + "where a1.user=a2.id") 17/08/31 00:13:05 WARN TaskSetManager: Stage 493 contains a task of very large size (3118 KB). The maximum recommended task size is 100 KB. 17/08/31 00:13:12 ERROR KeyProviderCache: Could not find uri with key [dfs.encryption.key.provider.uri] to create a keyProvider !! DataFrame[] >>> len(all_rating) 33695 >>> hiveCtx.sql("select CO_CUST_T.NATION_CUST_CODE CUST_CODE "+" from yxpt.CO_CUST CO_CUST_T,id_cid id_cid_t "+" where CO_CUST_T.CUST_ID=id_cid_t.CUST_ID limit 3").show(3) +------------+ | CUST_CODE| +------------+ |110105106838| |110108207746| |110228100250| +------------+ >>> len(all_rating) 33695 >>> hiveCtx.sql("select B.NATION_CUST_CODE CUST_CODE "+" from yxpt.CO_CUST B,id_cid A "+" where B.CUST_ID=A.CUST_ID limit 3").show(3) +------------+ | CUST_CODE| +------------+ |110105106838| |110108207746| |110228100250| +------------+ >>> hiveCtx.sql("select A.CUST_ID,B.NATION_CUST_CODE CUST_CODE "+" from yxpt.CO_CUST B,id_cid A "+" where B.CUST_ID=A.CUST_ID limit 3").show(3) +------------+------------+ | CUST_ID| CUST_CODE| +------------+------------+ |110105106838|110105106838| |110108207746|110108207746| |110228100250|110228100250| +------------+------------+ >>> hiveCtx.sql("select D.product,C.PACK_BAR "+" from yxpt.PLM_ITEM C,all_score D "+" where C.ITEM_ID=D.product limit 3").show(3) 17/08/31 04:02:23 WARN TaskSetManager: Stage 514 contains a task of very large size (3118 KB). The maximum recommended task size is 100 KB. +--------+-------------+ | product| PACK_BAR| +--------+-------------+ |51520615|6901028032957| |90020219|4893225033276| |34030316|6901028208550| +--------+-------------+ >>> hiveCtx.sql("select D.product,C.PACK_BAR "+" from yxpt.PLM_ITEM C,all_score D "+" where C.ITEM_ID=D.product limit 5").show(5) 17/08/31 04:02:50 WARN TaskSetManager: Stage 516 contains a task of very large size (3118 KB). The maximum recommended task size is 100 KB. +--------+-------------+ | product| PACK_BAR| +--------+-------------+ |51520615|6901028032957| |90020219|4893225033276| |34030316|6901028208550| |90020923|4893225020443| |51520635|6901028085724| +--------+-------------+ >>> hiveCtx.sql("insert into table yxpt.pi_cust_item_recommend3 select A.CUST_ID,B.NATION_CUST_CODE CUST_CODE "+" from yxpt.CO_CUST B,id_cid A "+" where B.CUST_ID=A.CUST_ID ") DataFrame[] >>> >>> hiveCtx.sql("insert into table yxpt.pi_cust_item_recommend4 select D.product,C.PACK_BAR "+" from yxpt.PLM_ITEM C,all_score D "+" where C.ITEM_ID=D.product ") 17/08/31 04:31:08 WARN TaskSetManager: Stage 524 contains a task of very large size (3118 KB). The maximum recommended task size is 100 KB. DataFrame[]
hive> > describe pi_cust_item_recommend6; OK cust_id string item_id bigint advise_level double cust_code string pack_bar string Time taken: 0.062 seconds, Fetched: 5 row(s) hive> > select * from pi_cust_item_recommend6 limit 3; OK Time taken: 0.525 seconds hive> > > > SELECT pi_cust_item_recommend2.cust_id,pi_cust_item_recommend2.item_id,pi_cust_item_recommend2.advise_level,CO_CUST.nation_cust_code,PLM_ITEM.pack_bar FROM pi_cust_item_recommend2 INNER JOIN CO_CUST ON pi_cust_item_recommend2.cust_id = CO_CUST.cust_id inner join PLM_ITEM on pi_cust_item_recommend2.item_id=PLM_ITEM.item_id limit 3; WARNING: Comparing a bigint and a string may result in a loss of precision. Query ID = superadmin_20170901205736_f32a6214-e816-4da4-8b9b-795d55f53b4e Total jobs = 1 Launching Job 1 out of 1 Tez session was closed. Reopening... Session re-established. Status: Running (Executing on YARN cluster with App id application_1504257820142_0010) -------------------------------------------------------------------------------- VERTICES STATUS TOTAL COMPLETED RUNNING PENDING FAILED KILLED -------------------------------------------------------------------------------- Map 1 .......... SUCCEEDED 4 4 0 0 0 0 Map 2 .......... SUCCEEDED 6 6 0 0 0 0 Map 3 .......... SUCCEEDED 1 1 0 0 0 0 -------------------------------------------------------------------------------- VERTICES: 03/03 [==========================>>] 100% ELAPSED TIME: 11.05 s -------------------------------------------------------------------------------- OK 110106200362 31010403 1.9991855986707237 110106200362 6901028075022 110106200362 44510318 0.7315507811472621 110106200362 6901028003865 110106200362 42010321 0.7402456032235841 110106200362 6901028188029 Time taken: 18.479 seconds, Fetched: 3 row(s) hive> describe pi_cust_item_recommend6; OK cust_id string item_id bigint advise_level double cust_code string pack_bar string Time taken: 0.113 seconds, Fetched: 5 row(s) hive> select * from pi_cust_item_recommend6 limit 3; OK Time taken: 0.133 seconds hive> SELECT pi_cust_item_recommend2.cust_id,pi_cust_item_recommend2.item_id,pi_cust_item_recommend2.advise_level,CO_CUST.nation_cust_code,PLM_ITEM.pack_bar FROM pi_cust_item_recommend2 INNER JOIN CO_CUST ON pi_cust_item_recommend2.cust_id = CO_CUST.cust_id inner join PLM_ITEM on pi_cust_item_recommend2.item_id=PLM_ITEM.item_id limit 31; WARNING: Comparing a bigint and a string may result in a loss of precision. Query ID = superadmin_20170901211431_3befe5c5-bee4-41dc-a5d7-ad1a540abf76 Total jobs = 1 Launching Job 1 out of 1 Tez session was closed. Reopening... Session re-established. Status: Running (Executing on YARN cluster with App id application_1504257820142_0011) -------------------------------------------------------------------------------- VERTICES STATUS TOTAL COMPLETED RUNNING PENDING FAILED KILLED -------------------------------------------------------------------------------- Map 1 .......... SUCCEEDED 4 4 0 0 0 0 Map 2 .......... SUCCEEDED 6 6 0 0 0 0 Map 3 .......... SUCCEEDED 1 1 0 0 0 0 -------------------------------------------------------------------------------- VERTICES: 03/03 [==========================>>] 100% ELAPSED TIME: 10.00 s -------------------------------------------------------------------------------- OK 110106200362 31010403 1.9991855986707237 110106200362 6901028075022 110106200362 44510318 0.7315507811472621 110106200362 6901028003865 110106200362 42010321 0.7402456032235841 110106200362 6901028188029 110106200362 90073003 0.74945149296184 110106200362 7610083310519 110106200362 31010407 0.7514422934379361 110106200362 6901028075725 110106200362 90021011 0.7516502560651163 110106200362 4893225010222 110106200362 37020314 0.800165097468575 110106200362 6901028148603 110106200362 61060101 0.8055774565277998 110106200362 6901028936781 110106200362 34030227 0.8201827330212803 110106200362 6901028208949 110106200362 32010108 0.8269939671471814 110106200362 6901028112789 110106200362 53020107 0.8317866062546577 110106200362 6901028317177 110106200362 32010112 0.8355164358601257 110106200362 6901028111270 110106200362 32030207 0.835835989620561 110106200362 6901028116190 110106200362 53020103 0.8412134030668572 110106200362 6901028316866 110106200362 31010801 0.8523856164856713 110106200362 6901028075053 110106200362 43020105 0.8745519353980199 110106200362 6901028193504 110106200362 44510302 0.9226469340889978 110106200362 6901028001687 110106200362 53010222 0.928377558398128 110106200362 6901028051989 110106200362 32030206 0.9298263229410402 110106200362 6901028114455 110106200362 52010621 0.93037959088196 110106200362 6901028221450 110106200362 90020218 0.9395628276556189 110106200362 4893225030268 110106200362 43010114 0.9473769803304297 110106200362 6901028196932 110106200362 53020118 0.9494572814437028 110106200362 6901028054447 110106200362 42010324 0.9777206880170106 110106200362 6901028181457 110106200362 33010114 1.0105876536911125 110106200362 6901028119009 110106200362 31011101 1.0201943849707453 110106200362 6901028018166 110106200362 32010110 1.0847107783324719 110106200362 6901028062329 110106200362 32010111 1.236357228925462 110106200362 6901028111546 110106200362 31010401 1.7570995391536546 110106200362 6901028075015 110106200362 90020215 1.9264300616899914 110106200362 4893225033382 110106108637 90190202 30.167922792243232 110106108637 1689674026938 Time taken: 15.028 seconds, Fetched: 31 row(s) hive> insert into table pi_cust_item_recommend6 SELECT pi_cust_item_recommend2.cust_id,pi_cust_item_recommend2.item_id,pi_cust_item_recommend2.advise_level,CO_CUST.nation_cust_code,PLM_ITEM.pack_bar FROM pi_cust_item_recommend2 INNER JOIN CO_CUST ON pi_cust_item_recommend2.cust_id = CO_CUST.cust_id inner join PLM_ITEM on pi_cust_item_recommend2.item_id=PLM_ITEM.item_id ; WARNING: Comparing a bigint and a string may result in a loss of precision. Query ID = superadmin_20170901212155_3ac172ff-d523-4ef8-a99c-e9719dc06a11 Total jobs = 1 Launching Job 1 out of 1 Status: Running (Executing on YARN cluster with App id application_1504257820142_0011) -------------------------------------------------------------------------------- VERTICES STATUS TOTAL COMPLETED RUNNING PENDING FAILED KILLED -------------------------------------------------------------------------------- Map 1 .......... SUCCEEDED 4 4 0 0 0 0 Map 2 .......... SUCCEEDED 6 6 0 0 0 0 Map 3 .......... SUCCEEDED 1 1 0 0 0 0 -------------------------------------------------------------------------------- VERTICES: 03/03 [==========================>>] 100% ELAPSED TIME: 10.41 s -------------------------------------------------------------------------------- Loading data to table yxpt.pi_cust_item_recommend6 Table yxpt.pi_cust_item_recommend6 stats: [numFiles=6, numRows=1010850, totalSize=68073639, rawDataSize=67062789] OK Time taken: 11.501 seconds hive> select * from pi_cust_item_recommend6 limit 31; OK 110106200362 31010403 1.9991855986707237 110106200362 6901028075022 110106200362 44510318 0.7315507811472621 110106200362 6901028003865 110106200362 42010321 0.7402456032235841 110106200362 6901028188029 110106200362 90073003 0.74945149296184 110106200362 7610083310519 110106200362 31010407 0.7514422934379361 110106200362 6901028075725 110106200362 90021011 0.7516502560651163 110106200362 4893225010222 110106200362 37020314 0.800165097468575 110106200362 6901028148603 110106200362 61060101 0.8055774565277998 110106200362 6901028936781 110106200362 34030227 0.8201827330212803 110106200362 6901028208949 110106200362 32010108 0.8269939671471814 110106200362 6901028112789 110106200362 53020107 0.8317866062546577 110106200362 6901028317177 110106200362 32010112 0.8355164358601257 110106200362 6901028111270 110106200362 32030207 0.835835989620561 110106200362 6901028116190 110106200362 53020103 0.8412134030668572 110106200362 6901028316866 110106200362 31010801 0.8523856164856713 110106200362 6901028075053 110106200362 43020105 0.8745519353980199 110106200362 6901028193504 110106200362 44510302 0.9226469340889978 110106200362 6901028001687 110106200362 53010222 0.928377558398128 110106200362 6901028051989 110106200362 32030206 0.9298263229410402 110106200362 6901028114455 110106200362 52010621 0.93037959088196 110106200362 6901028221450 110106200362 90020218 0.9395628276556189 110106200362 4893225030268 110106200362 43010114 0.9473769803304297 110106200362 6901028196932 110106200362 53020118 0.9494572814437028 110106200362 6901028054447 110106200362 42010324 0.9777206880170106 110106200362 6901028181457 110106200362 33010114 1.0105876536911125 110106200362 6901028119009 110106200362 31011101 1.0201943849707453 110106200362 6901028018166 110106200362 32010110 1.0847107783324719 110106200362 6901028062329 110106200362 32010111 1.236357228925462 110106200362 6901028111546 110106200362 31010401 1.7570995391536546 110106200362 6901028075015 110106200362 90020215 1.9264300616899914 110106200362 4893225033382 110106108637 90190202 30.167922792243232 110106108637 1689674026938 Time taken: 0.106 seconds, Fetched: 31 row(s) hive> select * from pi_cust_item_recommend6 limit 61; OK 110106200362 31010403 1.9991855986707237 110106200362 6901028075022 110106200362 44510318 0.7315507811472621 110106200362 6901028003865 110106200362 42010321 0.7402456032235841 110106200362 6901028188029 110106200362 90073003 0.74945149296184 110106200362 7610083310519 110106200362 31010407 0.7514422934379361 110106200362 6901028075725 110106200362 90021011 0.7516502560651163 110106200362 4893225010222 110106200362 37020314 0.800165097468575 110106200362 6901028148603 110106200362 61060101 0.8055774565277998 110106200362 6901028936781 110106200362 34030227 0.8201827330212803 110106200362 6901028208949 110106200362 32010108 0.8269939671471814 110106200362 6901028112789 110106200362 53020107 0.8317866062546577 110106200362 6901028317177 110106200362 32010112 0.8355164358601257 110106200362 6901028111270 110106200362 32030207 0.835835989620561 110106200362 6901028116190 110106200362 53020103 0.8412134030668572 110106200362 6901028316866 110106200362 31010801 0.8523856164856713 110106200362 6901028075053 110106200362 43020105 0.8745519353980199 110106200362 6901028193504 110106200362 44510302 0.9226469340889978 110106200362 6901028001687 110106200362 53010222 0.928377558398128 110106200362 6901028051989 110106200362 32030206 0.9298263229410402 110106200362 6901028114455 110106200362 52010621 0.93037959088196 110106200362 6901028221450 110106200362 90020218 0.9395628276556189 110106200362 4893225030268 110106200362 43010114 0.9473769803304297 110106200362 6901028196932 110106200362 53020118 0.9494572814437028 110106200362 6901028054447 110106200362 42010324 0.9777206880170106 110106200362 6901028181457 110106200362 33010114 1.0105876536911125 110106200362 6901028119009 110106200362 31011101 1.0201943849707453 110106200362 6901028018166 110106200362 32010110 1.0847107783324719 110106200362 6901028062329 110106200362 32010111 1.236357228925462 110106200362 6901028111546 110106200362 31010401 1.7570995391536546 110106200362 6901028075015 110106200362 90020215 1.9264300616899914 110106200362 4893225033382 110106108637 90190202 30.167922792243232 110106108637 1689674026938 110106108637 13070505 10.020807206623058 110106108637 6901028080446 110106108637 33010104 10.058049127786315 110106108637 6901028118187 110106108637 34020101 10.064374620662141 110106108637 6901028126014 110106108637 37020308 10.08361484204497 110106108637 6901028157650 110106108637 53020403 10.087763635581382 110106108637 6901028316316 110106108637 53090115 10.113164089985663 110106108637 6901028311465 110106108637 43010101 10.154119923238216 110106108637 6901028191142 110106108637 53020502 10.243874016468709 110106108637 6901028047128 110106108637 31010801 10.262783482332498 110106108637 6901028075053 110106108637 90020934 10.311458471348512 110106108637 4893226001854 110106108637 90021202 10.311458471348512 110106108637 4893225280113 110106108637 90020927 10.311458471348512 110106108637 4893225020610 110106108637 32010101 10.341371682910385 110106108637 6901028300063 110106108637 31010401 10.422988186451343 110106108637 6901028075015 110106108637 31010403 10.473346577622062 110106108637 6901028075022 110106108637 53020107 10.487361995694918 110106108637 6901028317177 110106108637 90160248 10.561609411466996 110106108637 7623500177718 110106108637 32010112 11.097507392141555 110106108637 6901028111270 110106108637 90021408 12.128817829579909 110106108637 4893225060043 110106108637 90160257 12.710990271805933 110106108637 7623500177695 110106108637 90020727 13.491288455248247 110106108637 8500001541226 110106108637 90020726 13.910326650737815 110106108637 4893225390263 110106108637 90160255 14.889605020678538 110106108637 7623500261363 110106108637 51520635 14.948645805670303 110106108637 6901028085724 110106108637 90020222 18.60426240446597 110106108637 4893226002301 110106108637 90020923 18.960876041888074 110106108637 4893225020443 110106108637 90020217 19.55934180163587 110106108637 4893225030190 110106108637 34030316 20.385661736337465 110106108637 6901028208550 110106108637 90190101 21.293637158931105 110106108637 1689674030782 110114203948 34030316 39.099489197710426 110114203948 6901028208550 Time taken: 0.124 seconds, Fetched: 61 row(s) hive> select count(distinct cust_id) from pi_cust_item_recommend6; Query ID = superadmin_20170901214037_c63d32b2-0a56-4c23-9da1-76beac517d04 Total jobs = 1 Launching Job 1 out of 1 Tez session was closed. Reopening... Session re-established. Status: Running (Executing on YARN cluster with App id application_1504257820142_0012) -------------------------------------------------------------------------------- VERTICES STATUS TOTAL COMPLETED RUNNING PENDING FAILED KILLED -------------------------------------------------------------------------------- Map 1 .......... SUCCEEDED 6 6 0 0 0 0 Reducer 2 ...... SUCCEEDED 1 1 0 0 0 0 Reducer 3 ...... SUCCEEDED 1 1 0 0 0 0 -------------------------------------------------------------------------------- VERTICES: 03/03 [==========================>>] 100% ELAPSED TIME: 6.51 s -------------------------------------------------------------------------------- OK 33695 Time taken: 11.704 seconds, Fetched: 1 row(s) hive> describe pi_cust_item_recommend6; OK cust_id string item_id bigint advise_level double cust_code string pack_bar string Time taken: 0.152 seconds, Fetched: 5 row(s) hive> > > describe pi_cust_item_recommend7; OK cust_id string item_id bigint advise_level double pack_bar string Time taken: 0.055 seconds, Fetched: 4 row(s)
hive> > describe pi_cust_item_recommend7; OK cust_id string item_id bigint advise_level double pack_bar string Time taken: 0.102 seconds, Fetched: 4 row(s) hive> > > drop table if exists pi_cust_item_recommend7; OK Time taken: 0.176 seconds hive> create table pi_cust_item_recommend7( > cust_id string, > item_id bigint, > advise_level double, > cust_code string, > pack_bar string, > NOTICE varchar(3), > Display all 491 possibilities? (y or n) > ADVISE_ID varchar(30) > ) > ; OK Time taken: 0.458 seconds hive> describe pi_cust_item_recommend7; OK cust_id string item_id bigint advise_level double cust_code string pack_bar string notice varchar(3) advise_id varchar(30) Time taken: 0.109 seconds, Fetched: 7 row(s) hive> > insert into table pi_cust_item_recommend7 SELECT pi_cust_item_recommend2.cust_id,pi_cust_item_recommend2.item_id,pi_cust_item_recommend2.advise_level,CO_CUST.nation_cust_code,PLM_ITEM.pack_bar,10,int(rand()*1000000) FROM pi_cust_item_recommend2 INNER JOIN CO_CUST ON pi_cust_item_recommend2.cust_id = CO_CUST.cust_id inner join PLM_ITEM on pi_cust_item_recommend2.item_id=PLM_ITEM.item_id ; WARNING: Comparing a bigint and a string may result in a loss of precision. Query ID = superadmin_20170902120131_d856801b-78f6-4d96-aa55-0ca17c7a4dac Total jobs = 1 Launching Job 1 out of 1 Tez session was closed. Reopening... Session re-established. Status: Running (Executing on YARN cluster with App id application_1504257820142_0016) -------------------------------------------------------------------------------- VERTICES STATUS TOTAL COMPLETED RUNNING PENDING FAILED KILLED -------------------------------------------------------------------------------- Map 1 .......... SUCCEEDED 4 4 0 0 0 0 Map 2 .......... SUCCEEDED 6 6 0 0 0 0 Map 3 .......... SUCCEEDED 1 1 0 0 0 0 -------------------------------------------------------------------------------- VERTICES: 03/03 [==========================>>] 100% ELAPSED TIME: 12.83 s -------------------------------------------------------------------------------- Loading data to table yxpt.pi_cust_item_recommend7 Failed with exception org.apache.hadoop.hdfs.protocol.AclException: Invalid ACL: multiple entries with same scope, type and name. at org.apache.hadoop.hdfs.server.namenode.AclTransformation.buildAndValidateAcl(AclTransformation.java:285) at org.apache.hadoop.hdfs.server.namenode.AclTransformation.replaceAclEntries(AclTransformation.java:230) at org.apache.hadoop.hdfs.server.namenode.FSDirAclOp.unprotectedSetAcl(FSDirAclOp.java:206) at org.apache.hadoop.hdfs.server.namenode.FSDirAclOp.setAcl(FSDirAclOp.java:146) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setAcl(FSNamesystem.java:8306) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.setAcl(NameNodeRpcServer.java:1966) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.setAcl(ClientNamenodeProtocolServerSideTranslatorPB.java:1338) at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:640) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:982) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2313) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2309) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2307) FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask hive> select * from pi_cust_item_recommend7 limit 3; OK 110106200362 31010403 1.9991855986707237 110106200362 6901028075022 10 844281 110106200362 44510318 0.7315507811472621 110106200362 6901028003865 10 784173 110106200362 42010321 0.7402456032235841 110106200362 6901028188029 10 687349 Time taken: 1.232 seconds, Fetched: 3 row(s) hive> describe pi_cust_item_recommend7 ; OK cust_id string item_id bigint advise_level double cust_code string pack_bar string notice varchar(3) advise_id varchar(30) Time taken: 0.107 seconds, Fetched: 7 row(s) hive> > select * from pi_cust_item_recommend7 limit 31; OK 110106200362 31010403 1.9991855986707237 110106200362 6901028075022 10 844281 110106200362 44510318 0.7315507811472621 110106200362 6901028003865 10 784173 110106200362 42010321 0.7402456032235841 110106200362 6901028188029 10 687349 110106200362 90073003 0.74945149296184 110106200362 7610083310519 10 134916 110106200362 31010407 0.7514422934379361 110106200362 6901028075725 10 324736 110106200362 90021011 0.7516502560651163 110106200362 4893225010222 10 231584 110106200362 37020314 0.800165097468575 110106200362 6901028148603 10 26455 110106200362 61060101 0.8055774565277998 110106200362 6901028936781 10 886206 110106200362 34030227 0.8201827330212803 110106200362 6901028208949 10 343477 110106200362 32010108 0.8269939671471814 110106200362 6901028112789 10 435245 110106200362 53020107 0.8317866062546577 110106200362 6901028317177 10 939005 110106200362 32010112 0.8355164358601257 110106200362 6901028111270 10 249572 110106200362 32030207 0.835835989620561 110106200362 6901028116190 10 498602 110106200362 53020103 0.8412134030668572 110106200362 6901028316866 10 637790 110106200362 31010801 0.8523856164856713 110106200362 6901028075053 10 905796 110106200362 43020105 0.8745519353980199 110106200362 6901028193504 10 908966 110106200362 44510302 0.9226469340889978 110106200362 6901028001687 10 695199 110106200362 53010222 0.928377558398128 110106200362 6901028051989 10 289106 110106200362 32030206 0.9298263229410402 110106200362 6901028114455 10 722128 110106200362 52010621 0.93037959088196 110106200362 6901028221450 10 490132 110106200362 90020218 0.9395628276556189 110106200362 4893225030268 10 184845 110106200362 43010114 0.9473769803304297 110106200362 6901028196932 10 249809 110106200362 53020118 0.9494572814437028 110106200362 6901028054447 10 225160 110106200362 42010324 0.9777206880170106 110106200362 6901028181457 10 913569 110106200362 33010114 1.0105876536911125 110106200362 6901028119009 10 640293 110106200362 31011101 1.0201943849707453 110106200362 6901028018166 10 759850 110106200362 32010110 1.0847107783324719 110106200362 6901028062329 10 42010 110106200362 32010111 1.236357228925462 110106200362 6901028111546 10 3153 110106200362 31010401 1.7570995391536546 110106200362 6901028075015 10 579454 110106200362 90020215 1.9264300616899914 110106200362 4893225033382 10 295173 110106108637 90190202 30.167922792243232 110106108637 1689674026938 10 34512 Time taken: 0.176 seconds, Fetched: 31 row(s)