[
https://issues.apache.org/jira/browse/PHOENIX-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14299600#comment-14299600
]
Naga Vijayapuram commented on PHOENIX-1248:
-------------------------------------------
Sure, I will start with a fresh clone. May I know what branch are you on
please from the list below? The reason I am inquiring is I don't see 4.3.0 in
the list ...
{code}
$ git branch -r | grep 4
origin/4.0
origin/4.0.1
origin/4.2
{code}
Also, by doing this change ...
{code}
$ git diff
phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
diff --git
a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
index 97efc43..d4432f7 100644
---
a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
+++
b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
@@ -961,9 +961,10 @@ public class ConnectionQueryServicesImpl extends
DelegateQueryServices implement
throw e;
} catch (Throwable t) {
// This is the case if the "phoenix.jar" is not on the classpath
of HBase on the region server
- throw new
SQLExceptionInfo.Builder(SQLExceptionCode.INCOMPATIBLE_CLIENT_SERVER_JAR).setRootCause(t)
- .setMessage("Ensure that " +
QueryConstants.DEFAULT_COPROCESS_PATH + " is put on the classpath of HBase in
every region server: " + t.getMessage())
- .build().buildException();
+ // throw new
SQLExceptionInfo.Builder(SQLExceptionCode.INCOMPATIBLE_CLIENT_SERVER_JAR).setRootCause(t)
+ // .setMessage("Ensure that " +
QueryConstants.DEFAULT_COPROCESS_PATH + " is put on the classpath of HBase in
every region server: " + t.getMessage())
+ // .build().buildException();
+ logger.error(t.getMessage(), t);
}
if (isIncompatible) {
buf.setLength(buf.length()-1);
{code}
... the root cause points to ...
{code}
$ grep -C3 ERROR nohup.out
15/01/31 02:39:08 INFO zookeeper.ClientCnxn: Opening socket connection to
server localhost.localdomain/127.0.0.1:2181. Will not attempt to authenticate
using SASL (unknown error)
15/01/31 02:39:08 INFO zookeeper.ClientCnxn: Socket connection established to
localhost.localdomain/127.0.0.1:2181, initiating session
15/01/31 02:39:08 INFO zookeeper.ClientCnxn: Session establishment complete on
server localhost.localdomain/127.0.0.1:2181, sessionid = 0x14b3dcada86007d,
negotiated timeout = 30000
15/01/31 02:39:09 ERROR query.ConnectionQueryServicesImpl:
org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos$MetaRegionServer.hasState()Z
java.lang.NoSuchMethodError:
org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos$MetaRegionServer.hasState()Z
at
org.apache.hadoop.hbase.zookeeper.MetaRegionTracker.getMetaRegionState(MetaRegionTracker.java:219)
at
org.apache.hadoop.hbase.zookeeper.MetaRegionTracker.blockUntilAvailable(MetaRegionTracker.java:204)
{code}
My client-side run script already has this ...
{code}
$ grep HADOOP_ run_nv.sh
export
HADOOP_CLASSPATH=/usr/hdp/current/hbase/lib/hbase-protocol.jar:/etc/hbase/conf
{code}
> CsvBulkLoadTool is failing with IAE when local index specified for
> --index-table parameter
> ------------------------------------------------------------------------------------------
>
> Key: PHOENIX-1248
> URL: https://issues.apache.org/jira/browse/PHOENIX-1248
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.1
> Reporter: rajeshbabu
> Assignee: Rajeshbabu Chintaguntla
> Fix For: 5.0.0, 4.3
>
> Attachments: PHOENIX-1248.patch, p1248_0.log
>
>
> {code}
> 14/09/11 22:38:11 INFO mapreduce.HFileOutputFormat2: Writing partition
> information to /tmp/partitions_81e2ee23-836c-4eae-b413-ac6bd6a96623
> 14/09/11 22:38:11 ERROR mapreduce.CsvBulkLoadTool: Import job on
> table=TEST_IDX failed due to exception:java.lang.IllegalArgumentException: No
> regions passed
> 14/09/11 22:38:11 INFO client.HConnectionManager$HConnectionImplementation:
> Closing zookeeper sessionid=0x148123145090287
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)