Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Issue with creating table in hbase


Copy link to this message
-
Re: Issue with creating table in hbase
Is that the complete stacktrace?

On Tue, Aug 14, 2012 at 12:01 PM, Omer, Farah <[EMAIL PROTECTED]>wrote:

>  Unfortunately the job’s log also doesn’t tell me anything very
> meaningful. Have you or anyone might have seen this before?****
>
> ****
>
> java.lang.RuntimeException: Error in configuring object****
>
>         at
> org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:93)
> ****
>
>         at
> org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:64)***
> *
>
>         at
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117)
> ****
>
>         at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:387)
> ****
>
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:325)****
>
>         at org.apache.hadoop.mapred.Child$4.run(Child.java:270)****
>
>         at java.security.AccessController.doPrivileged(Native Method)****
>
>         at javax.security.auth.Subject.doAs(Subject.java:396)****
>
>         at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1177)
> ****
>
>         at org.apache.hadoop.mapred.Child.main(Child.java:264)****
>
> Caused by: java.lang.reflect.InvocationTargetException****
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)****
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> ****
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
> ****
>
> ** **
>
> ** **
>
> Thanks.****
>
> ** **
>
> ** **
>
> Farah Omer****
>
> Sr. DB Engineer | MicroStrategy, Inc.****
>
> Tel 703.270.2230 | [EMAIL PROTECTED]****
>
> 1850 Towers Crescent Plaza | Tysons Corner, VA 22182****
>
> www.microstrategy.com****
>
> ** **
>
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> *Sent:* Tuesday, August 14, 2012 12:49 PM
>
> *To:* [EMAIL PROTECTED]
> *Subject:* Re: Issue with creating table in hbase****
>
>  ** **
>
> It seems like your Map reduce job is failing. Refer to the logs in the
> tracking URL "
> http://hadoop001:50030/jobdetails.jsp?jobid=job_201207251201_0678" to see
> why exactly it is failing.****
>
> ** **
>
> On Tue, Aug 14, 2012 at 11:35 AM, Omer, Farah <[EMAIL PROTECTED]>
> wrote:****
>
> Thanks. That helped.****
>
>  ****
>
> Another related question:****
>
>  ****
>
> I created this table on HIVE:****
>
> hive> CREATE TABLE hbase_mstr_1(key int, value string) STORED BY
> 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' WITH SERDEPROPERTIES
> ("hbase.columns.mapping" = ":key,cf1:val") TBLPROPERTIES ("
> hbase.table.name" = "hbase_mstr_1_xyz");****
>
>  ****
>
> My intention is to load it and then access it via HIVE. But I am not able
> to insert values into this table:****
>
>  ****
>
> hive> insert overwrite table hbase_mstr_1 select * from eatwh1_ft1;****
>
> Total MapReduce 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_201207251201_0678, Tracking URL > http://hadoop001:50030/jobdetails.jsp?jobid=job_201207251201_0678****
>
> Kill Command = /usr/lib/hadoop/bin/hadoop job
> -Dmapred.job.tracker=hadoop001:6932 -kill job_201207251201_0678****
>
> 2012-08-14 12:30:20,977 Stage-0 map = 0%,  reduce = 0%****
>
> 2012-08-14 12:30:47,110 Stage-0 map = 100%,  reduce = 100%****
>
> Ended Job = job_201207251201_0678 with errors****
>
> FAILED: Execution Error, return code 2 from
> org.apache.hadoop.hive.ql.exec.MapRedTask****
>
>  ****
>
> The hive.log doesn’t tell a lot of useful information.****
>
>  ****
>
> 2012-08-14 11:55:51,893 WARN  hbase.HBaseConfiguration
> (HBaseConfiguration.java:<init>(45)) - instantiating HBaseConfiguration()
> is deprecated. Please use HBaseConfiguration#create() to construct a plain
> Configuration****
>
> 2012-08-14 11:55:52,302 WARN  mapred.JobClient
> (JobClient.java:copyAndConfigureFiles(649)) - Use GenericOptionsParser for

Swarnim
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB