Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Hive Query Resulting in No Output

$
0
0

Hi,

I’m a starter here. I have created a table:

create TABLE US_ABC (CARD_ACCT_NO string, BTCH_ID string, VLD_RULE_SHRT_NM string, RULE_PATH_TX string, RULE_EXEC_PATH_TX string,LST_UPDT_TS string, RPT_MO string) ROW FORMAT DELIMITED FIELDS TERMINATED BY “|”;

and loaded data in this table.

I’m trying to run a simple query :

select  * from us_abc where CARD_ACCT_NO = ‘12323232313’ ;

This is not giving me any output. In fact I tried this with multiple where clauses and the result is the same. Following is the output:

Total jobs = 1

Launching Job 1 out of 1

Number of reduce tasks is set to 0 since there’s no reduce operator

Starting Job = job_201509111551_7140, Tracking URL = http://lppbd0020.gso.aexp.com:50030/jobdetails.jsp?jobid=job_201509111551_7140

Kill Command = /opt/mapr/hadoop/hadoop-0.20.2/bin/../bin/hadoop job  -kill job_201509111551_7140

Hadoop job information for Stage-1: number of mappers: 9; number of reducers: 0

2015-09-25 02:53:44,819 Stage-1 map = 0%,  reduce = 0%

2015-09-25 02:53:52,891 Stage-1 map = 22%,  reduce = 0%, Cumulative CPU 6.79 sec

2015-09-25 02:53:53,912 Stage-1 map = 89%,  reduce = 0%, Cumulative CPU 30.35 sec

2015-09-25 02:53:54,925 Stage-1 map = 100%,  reduce = 100%, Cumulative CPU 35.17 sec

MapReduce Total cumulative CPU time: 35 seconds 170 msec

Ended Job = job_201509111551_7140

MapReduce Jobs Launched:

Job 0: Map: 9   Cumulative CPU: 35.17 sec   MAPRFS Read: 0 MAPRFS Write: 0 SUCCESS

Total MapReduce CPU Time Spent: 35 seconds 170 msec

OK

Time taken: 11.486 seconds


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>