[ 
https://issues.apache.org/jira/browse/HBASE-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-1391:
----------------------------------

    Attachment: hbase-1391.patch

hbase-1391.patch: Log warnings if a quorum server listed in zoo.cfg cannot be 
resolved. Throw an exception if no valid quorum servers are found. Throw an 
exception out of TableInputFormat if a connection to the table could not be 
established for whatever reason. 

> NPE in TableInputFormatBase$TableRecordReader.restart if zoo.cfg is wrong on 
> tasktrackers
> -----------------------------------------------------------------------------------------
>
>                 Key: HBASE-1391
>                 URL: https://issues.apache.org/jira/browse/HBASE-1391
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: hbase-1391.patch
>
>
> Minor nit. If zoo.cfg is missing or incorrect on the task trackers, you'll 
> get this NPE when the child task starts:
> 09/05/08 02:46:15 INFO mapred.JobClient: Task Id : 
> attempt_200905080240_0002_m_000000_2, Status : FAILED
> java.lang.NullPointerException
>         at 
> org.apache.hadoop.hbase.mapred.TableInputFormatBase$TableRecordReader.restart(TableInputFormatBase.java:117)
>         at 
> org.apache.hadoop.hbase.mapred.TableInputFormatBase$TableRecordReader.init(TableInputFormatBase.java:128)
>         at 
> org.apache.hadoop.hbase.mapred.TableInputFormatBase.getRecordReader(TableInputFormatBase.java:249)
>         at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:336)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305)
>         at org.apache.hadoop.mapred.Child.main(Child.java:170)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to