vmaster.cc created HIVE-25775:
---------------------------------

             Summary: Couldn't read snapshot info from 'xxx' when set confVar 
'hive.hbase.snapshot.name'
                 Key: HIVE-25775
                 URL: https://issues.apache.org/jira/browse/HIVE-25775
             Project: Hive
          Issue Type: Bug
          Components: Hive
    Affects Versions: 1.1.0
            Reporter: vmaster.cc
         Attachments: image-2021-12-06-12-17-00-277.png

I want to read hbase snapshot data with hive instead of online table. So i set 
snapshot table name by config 'hive.hbase.snapshot.name', but  error occur:

_Error while compiling statement: FAILED: SemanticException 
org.apache.hadoop.hbase.snapshot.CorruptedSnapshotException:{color:#FF0000} 
Couldn't read snapshot info 
from:hdfs://psd-hadoop/tmp/hbase-cloudera-scm/hbase/.hbase-snapshot/hbase_hive_table_snapshot/.snapshotinfo{color}_

 

The culprit is snapshot path is incorrect, actual is 
_{color:#FF0000}hdfs:///hbase/.hbase-snapshot/hbase_hive_table_snapshot/.snapshotinfo{color}_

!image-2021-12-06-12-17-00-277.png|width=543,height=143!

 

I don't want to restore snapshot by export command, and then move to target 
directory.

{color:#FF0000}So, why some path prefix was added, and how should i do to 
change this default behaivor ?{color}

 

Thanks very much !



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to