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

ASF GitHub Bot commented on KYLIN-3446:
---------------------------------------

shaofengshi commented on a change in pull request #195: KYLIN-3446 Connect to 
HBase out of Spark
URL: https://github.com/apache/kylin/pull/195#discussion_r211134185
 
 

 ##########
 File path: 
storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CreateHTableJob.java
 ##########
 @@ -300,7 +339,8 @@ protected static void saveHFileSplits(final 
List<HashMap<Long, Double>> innerReg
                     logger.info(String.format("Region %d's hfile %d size is 
%.2f mb", i, j, accumulatedSize));
                     byte[] split = new 
byte[RowConstants.ROWKEY_SHARD_AND_CUBOID_LEN];
                     BytesUtil.writeUnsigned(i, split, 0, 
RowConstants.ROWKEY_SHARDID_LEN);
-                    System.arraycopy(Bytes.toBytes(cuboid), 0, split, 
RowConstants.ROWKEY_SHARDID_LEN, RowConstants.ROWKEY_CUBOIDID_LEN);
+                    System.arraycopy(Bytes.toBytes(cuboid), 0, split, 
RowConstants.ROWKEY_SHARDID_LEN,
 
 Review comment:
   It seems your code formatter is wrong, which causes some unnecessary diffs.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Convert to HFile in spark reports ZK connection refused
> -------------------------------------------------------
>
>                 Key: KYLIN-3446
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3446
>             Project: Kylin
>          Issue Type: Bug
>          Components: Spark Engine
>            Reporter: Shaofeng SHI
>            Assignee: Shaofeng SHI
>            Priority: Major
>             Fix For: v2.5.0
>
>
> {code:java}
> to server localhost/127.0.0.1:2181. Will not attempt to authenticate using 
> SASL (unknown error)
> 2018-07-12 18:51:21,001 INFO [Scheduler 1109292714 Job 
> 62f42193-20ff-4ca9-b898-52978a473bce-864] spark.SparkExecutable:38 : 18/07/12 
> 18:51:21 WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpected 
> error, closing socket connection and attempting reconnect
> 2018-07-12 18:51:21,002 INFO [Scheduler 1109292714 Job 
> 62f42193-20ff-4ca9-b898-52978a473bce-864] spark.SparkExecutable:38 : 
> java.net.ConnectException: Connection refused
> 2018-07-12 18:51:21,002 INFO [Scheduler 1109292714 Job 
> 62f42193-20ff-4ca9-b898-52978a473bce-864] spark.SparkExecutable:38 : at 
> sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> 2018-07-12 18:51:21,002 INFO [Scheduler 1109292714 Job 
> 62f42193-20ff-4ca9-b898-52978a473bce-864] spark.SparkExecutable:38 : at 
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
> 2018-07-12 18:51:21,002 INFO [Scheduler 1109292714 Job 
> 62f42193-20ff-4ca9-b898-52978a473bce-864] spark.SparkExecutable:38 : at 
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
> 2018-07-12 18:51:21,002 INFO [Scheduler 1109292714 Job 
> 62f42193-20ff-4ca9-b898-52978a473bce-864] spark.SparkExecutable:38 : at 
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to