Support Questions

Find answers, ask questions, and share your expertise
Celebrating as our community reaches 100,000 members! Thank you!

exception with hbase when reads data from hdfs


Hello, when hbase reads data from hdfs, there is an exception in region, it is

2018-12-10 00:13:56,596 INFO [RpcServer.FifoWFPBQ.default.handler=3,queue=3,port=16020] shortcircuit.ShortCircuitCache: ShortCircuitCache(0xc75b9da): could not load 1074372655_BP-739229554- due to InvalidToken exception.$InvalidToken: access control error while attempting to set up short-circuit access to /apps/hbase/data/data/default/tsdb/17caedda58b3035c481a972a1d498e2d/t/a097b33304184834b4c3019bcfcf3fcb.

Ans also there is an expired exception in datanode, it is

2018-12-10 01:09:04,404 ERROR datanode.DataNode ( - error processing REQUEST_SHORT_CIRCUIT_FDS operation src: unix:/var/lib/hadoop-hdfs/dn_socket dst: <local>$InvalidToken: Block token with block_token_identifier (expiryDate=1544402454744, keyId=742060374, userId=hbase, blockPoolId=BP-739229554-, blockId=1074375591, access modes=[READ]) is expired. at at at at org.apache.hadoop.hdfs.server.datanode.DataXceiver.checkAccess( at org.apache.hadoop.hdfs.server.datanode.DataXceiver.requestShortCircuitFds( at org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.opRequestShortCircuitFds( at org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.processOp( at at

The Exception causes exception when my applicaiton runs. How can I do with it?


Rising Star

@Zhao Chaofeng Looks like you are missing appropriate permissions for hbase to access the hdfs directory.