phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-4082) DistributedLogReplay = true;java.lang.NullPointerException
Date Mon, 14 Aug 2017 15:58:00 GMT

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

Josh Elser updated PHOENIX-4082:
--------------------------------
    Description: 
when open  DistributedLogReplay = true; phoenix Create a secondary index Currently used cover
index.when  Play back wal  java.lang.NullPointerException .
The log is as follows:

{noformat}
2017-08-10 12:17:20,219 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase] wal.WALSplitter: DistributedLogReplay
= true
2017-08-10 12:17:20,221 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase] util.FSHDFSUtils: Recovering
lease on dfs file 
2017-08-10 12:17:20,226 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase] util.FSHDFSUtils: recoverLease=true,
attempt=0 on 
2017-08-10 12:17:20,258 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4] zookeeper.RecoverableZooKeeper:
Process identifier
2017-08-10 12:17:20,258 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4] zookeeper.ZooKeeper:
Initiating client connection, 
2017-08-10 12:17:20,259 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4-SendThread(BJHC-HBase-Sleep-17859.hadoop.jd.local:2181)]
zookeeper.ClientCnxn: Opening socket connection to server BJHC-HBase. Will not attempt to
authenticate using SASL (unknown error)
2017-08-10 12:17:20,260 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4-SendThread(BJHC-HBase-Sleep-17859.hadoop.jd.local:2181)]
zookeeper.ClientCnxn: Socket connection established to BJHC-HBase, initiating session
2017-08-10 12:17:20,261 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4-SendThread(BJHC-HBase-Sleep-17859.hadoop.jd.local:2181)]
zookeeper.ClientCnxn: Session establishment complete on server BJHC-HBase, sessionid = 0x258627e9a6756e3,
negotiated timeout = 90000
2017-08-10 12:17:20,310 ERROR [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-3] wal.WALSplitter: Exiting
thread
java.lang.NullPointerException
    at org.apache.hadoop.hbase.util.Bytes.toShort(Bytes.java:967)
    at org.apache.hadoop.hbase.util.Bytes.toShort(Bytes.java:954)
    at org.apache.hadoop.hbase.KeyValue.getRowLength(KeyValue.java:1373)
    at org.apache.hadoop.hbase.CellUtil.cloneRow(CellUtil.java:70)
    at org.apache.hadoop.hbase.wal.WALSplitter$LogReplayOutputSink.groupEditsByServer(WALSplitter.java:1748)
    at org.apache.hadoop.hbase.wal.WALSplitter$LogReplayOutputSink.append(WALSplitter.java:1684)
    at org.apache.hadoop.hbase.wal.WALSplitter$WriterThread.writeBuffer(WALSplitter.java:1104)
    at org.apache.hadoop.hbase.wal.WALSplitter$WriterThread.doRun(WALSplitter.java:1096)
    at org.apache.hadoop.hbase.wal.WALSplitter$WriterThread.run(WALSplitter.java:1066)
2017-08-10 12:17:20,312 ERROR [RS_LOG_REPLAY_OPS-BJHC-HBase-0-Writer-4] wal.WALSplitter: Exiting
thread
{noformat}

  was:
when open  DistributedLogReplay = true; phoenix Create a secondary index Currently used cover
index.when  Play back wal  java.lang.NullPointerException .
The log is as follows:

2017-08-10 12:17:20,219 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase] wal.WALSplitter: DistributedLogReplay
= true
2017-08-10 12:17:20,221 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase] util.FSHDFSUtils: Recovering
lease on dfs file 
2017-08-10 12:17:20,226 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase] util.FSHDFSUtils: recoverLease=true,
attempt=0 on 
2017-08-10 12:17:20,258 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4] zookeeper.RecoverableZooKeeper:
Process identifier
2017-08-10 12:17:20,258 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4] zookeeper.ZooKeeper:
Initiating client connection, 
2017-08-10 12:17:20,259 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4-SendThread(BJHC-HBase-Sleep-17859.hadoop.jd.local:2181)]
zookeeper.ClientCnxn: Opening socket connection to server BJHC-HBase. Will not attempt to
authenticate using SASL (unknown error)
2017-08-10 12:17:20,260 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4-SendThread(BJHC-HBase-Sleep-17859.hadoop.jd.local:2181)]
zookeeper.ClientCnxn: Socket connection established to BJHC-HBase, initiating session
2017-08-10 12:17:20,261 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4-SendThread(BJHC-HBase-Sleep-17859.hadoop.jd.local:2181)]
zookeeper.ClientCnxn: Session establishment complete on server BJHC-HBase, sessionid = 0x258627e9a6756e3,
negotiated timeout = 90000
2017-08-10 12:17:20,310 ERROR [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-3] wal.WALSplitter: Exiting
thread
java.lang.NullPointerException
    at org.apache.hadoop.hbase.util.Bytes.toShort(Bytes.java:967)
    at org.apache.hadoop.hbase.util.Bytes.toShort(Bytes.java:954)
    at org.apache.hadoop.hbase.KeyValue.getRowLength(KeyValue.java:1373)
    at org.apache.hadoop.hbase.CellUtil.cloneRow(CellUtil.java:70)
    at org.apache.hadoop.hbase.wal.WALSplitter$LogReplayOutputSink.groupEditsByServer(WALSplitter.java:1748)
    at org.apache.hadoop.hbase.wal.WALSplitter$LogReplayOutputSink.append(WALSplitter.java:1684)
    at org.apache.hadoop.hbase.wal.WALSplitter$WriterThread.writeBuffer(WALSplitter.java:1104)
    at org.apache.hadoop.hbase.wal.WALSplitter$WriterThread.doRun(WALSplitter.java:1096)
    at org.apache.hadoop.hbase.wal.WALSplitter$WriterThread.run(WALSplitter.java:1066)
2017-08-10 12:17:20,312 ERROR [RS_LOG_REPLAY_OPS-BJHC-HBase-0-Writer-4] wal.WALSplitter: Exiting
thread




> DistributedLogReplay = true;java.lang.NullPointerException
> ----------------------------------------------------------
>
>                 Key: PHOENIX-4082
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4082
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.10.0, 4.11.0
>         Environment: Hadoop 2.6.1
> HBase 1.1.6
> phoenix 4.11.0
> phoenix 4.10.0
>            Reporter: zhengsicheng
>
> when open  DistributedLogReplay = true; phoenix Create a secondary index Currently used
cover index.when  Play back wal  java.lang.NullPointerException .
> The log is as follows:
> {noformat}
> 2017-08-10 12:17:20,219 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase] wal.WALSplitter: DistributedLogReplay
= true
> 2017-08-10 12:17:20,221 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase] util.FSHDFSUtils: Recovering
lease on dfs file 
> 2017-08-10 12:17:20,226 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase] util.FSHDFSUtils: recoverLease=true,
attempt=0 on 
> 2017-08-10 12:17:20,258 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4] zookeeper.RecoverableZooKeeper:
Process identifier
> 2017-08-10 12:17:20,258 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4] zookeeper.ZooKeeper:
Initiating client connection, 
> 2017-08-10 12:17:20,259 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4-SendThread(BJHC-HBase-Sleep-17859.hadoop.jd.local:2181)]
zookeeper.ClientCnxn: Opening socket connection to server BJHC-HBase. Will not attempt to
authenticate using SASL (unknown error)
> 2017-08-10 12:17:20,260 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4-SendThread(BJHC-HBase-Sleep-17859.hadoop.jd.local:2181)]
zookeeper.ClientCnxn: Socket connection established to BJHC-HBase, initiating session
> 2017-08-10 12:17:20,261 INFO  [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-4-SendThread(BJHC-HBase-Sleep-17859.hadoop.jd.local:2181)]
zookeeper.ClientCnxn: Session establishment complete on server BJHC-HBase, sessionid = 0x258627e9a6756e3,
negotiated timeout = 90000
> 2017-08-10 12:17:20,310 ERROR [RS_LOG_REPLAY_OPS-BJHC-HBase-Writer-3] wal.WALSplitter:
Exiting thread
> java.lang.NullPointerException
>     at org.apache.hadoop.hbase.util.Bytes.toShort(Bytes.java:967)
>     at org.apache.hadoop.hbase.util.Bytes.toShort(Bytes.java:954)
>     at org.apache.hadoop.hbase.KeyValue.getRowLength(KeyValue.java:1373)
>     at org.apache.hadoop.hbase.CellUtil.cloneRow(CellUtil.java:70)
>     at org.apache.hadoop.hbase.wal.WALSplitter$LogReplayOutputSink.groupEditsByServer(WALSplitter.java:1748)
>     at org.apache.hadoop.hbase.wal.WALSplitter$LogReplayOutputSink.append(WALSplitter.java:1684)
>     at org.apache.hadoop.hbase.wal.WALSplitter$WriterThread.writeBuffer(WALSplitter.java:1104)
>     at org.apache.hadoop.hbase.wal.WALSplitter$WriterThread.doRun(WALSplitter.java:1096)
>     at org.apache.hadoop.hbase.wal.WALSplitter$WriterThread.run(WALSplitter.java:1066)
> 2017-08-10 12:17:20,312 ERROR [RS_LOG_REPLAY_OPS-BJHC-HBase-0-Writer-4] wal.WALSplitter:
Exiting thread
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message