[
https://issues.apache.org/jira/browse/SPARK-7107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reynold Xin resolved SPARK-7107.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.4.0
> Add parameter for zookeeper.znode.parent to hbase_inputformat.py
> ----------------------------------------------------------------
>
> Key: SPARK-7107
> URL: https://issues.apache.org/jira/browse/SPARK-7107
> Project: Spark
> Issue Type: Bug
> Components: Examples, PySpark
> Reporter: Ted Yu
> Assignee: Ted Yu
> Priority: Minor
> Fix For: 1.4.0
>
>
> [~yeshavora] first reported encountering the following exception running
> hbase_inputformat.py :
> {code}
> py4j.protocol.Py4JJavaError: An error occurred while calling
> z:org.apache.spark.api.python.PythonRDD.newAPIHadoopRDD.
> : java.lang.RuntimeException: java.lang.NullPointerException
> at
> org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:208)
> at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:313)
> at
> org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:288)
> at
> org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:160)
> {code}
> It turned out that the hbase cluster has custom znode parent:
> {code}
> <property>
> <name>zookeeper.znode.parent</name>
> <value>/hbase-unsecure</value>
> </property>
> {code}
> hbase_inputformat.py should support specification of custom znode parent.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]