hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "aslam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14072) Nullpointerexception in running mapreduce with toolrun and exteded class TableInputFormat
Date Tue, 14 Jul 2015 07:32:04 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14625981#comment-14625981
] 

aslam commented on HBASE-14072:
-------------------------------

	at org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.getTable(TableInputFormatBase.java:585)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at com.flytxt.ostrich.engine.hadoop.MultiLineTableInputFormat.getSplits(MultiLineTableInputFormat.java:41)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:493)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:510)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:394)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1285)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1282)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at java.security.AccessController.doPrivileged(Native
Method)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at javax.security.auth.Subject.doAs(Subject.java:415)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.apache.hadoop.mapreduce.Job.submit(Job.java:1282)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at com.flytxt.ostrich.engine.hadoop.AbstractMRJob.run(AbstractMRJob.java:96)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at com.flytxt.ostrich.engine.executor.SplitExecutorimpl.start(SplitExecutorimpl.java:72)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at com.flytxt.ostrich.core.main.ConveyorBelt.startConveyor(ConveyorBelt.java:158)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at com.flytxt.ostrich.core.main.ConveyorBelt.execute(ConveyorBelt.java:243)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at com.flytxt.ostrich.core.message.JMSConveyorBeltReceiver.onMessage(JMSConveyorBeltReceiver.java:44)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.springframework.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:339)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:537)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:497)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:468)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1096)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1088)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:985)
INFO   | jvm 1    | 2015/07/14 18:30:56 | 	at java.lang.Thread.run(Thread.java:745)


> Nullpointerexception in running mapreduce with toolrun and exteded class TableInputFormat

> ------------------------------------------------------------------------------------------
>
>                 Key: HBASE-14072
>                 URL: https://issues.apache.org/jira/browse/HBASE-14072
>             Project: HBase
>          Issue Type: Bug
>          Components: hbase
>    Affects Versions: 1.1.0.1
>            Reporter: aslam
>
> Running mapreduce with extended class
> org.apache.hadoop.hbase.mapreduce.TableInputFormat , and using toolrun ,nullpointerexception
is coming from getTable().getName().The code was working if previous version of hbase.
> Its working if we call initialize(context) inside getSplits method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message