Hive “与”的区别是什么;地点“;及;路径“;蜂箱中的桌子
在配置单元中描述表时,我在表的描述中得到两条路径Hive “与”的区别是什么;地点“;及;路径“;蜂箱中的桌子,hive,Hive,在配置单元中描述表时,我在表的描述中得到两条路径 hive> MSCK REPAIR TABLE default.am_test; OK Time taken: 0.061 seconds ... ... Location: hdfs://privacynameservice/anonymized/master/ste/finished/sessions ... ... # Storage Information SerDe Li
hive> MSCK REPAIR TABLE default.am_test;
OK
Time taken: 0.061 seconds
...
...
Location: hdfs://privacynameservice/anonymized/master/ste/finished/sessions
...
...
# Storage Information
SerDe Library: org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe
InputFormat: org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat
OutputFormat: org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat
Storage Desc Params:
path hdfs:/anonymized/master/ste/finished/sessions
serialization.format 1
Time taken: 0.048 seconds, Fetched: 57 row(s)
当我尝试在远程spark2外壳上执行MSCK REPAIR TABLE
时(使用
--conf spark.hadoop.hive.metastore.uris=thrift://machine8068.dint.company.com:9083
出了问题,抱怨说
scala> sql("MSCK REPAIR TABLE privacygateway.ste_catchup_v2")
java.io.FileNotFoundException: File hdfs:/anonymized/master/ste/finished/sessions does not exist.
因此repair命令使用第二条路径,该路径包含一个奇数URI,因为它不包含所有三个//
,也不包含nameservice
那么…这条路径是什么?为什么它包含我没有设置的路径