推入现有的本地表故障(Windows):InvalidRegionNumberException然后IllegalArgumentException

我想将数据推送到一个已经存在的表中,单列族,没有记录。 我在Windows机器上使用shc-core:1.1.1-2.1-s_2.11我已经安装了hbase 1.2.6,并使用了scala 2.11.8。

当我尝试推送数据时,我首先遇到以下错误:org.apache.spark.sql.execution.datasources.hbase.InvalidRegionNumberException: Number of regions specified for new table must be greater than 3.

在遵循了此链接https://github.com/hortonworks-spark/shc/issues/249#issue-318285217的建议之后,我在选项中添加了HBasetableCatalog.newTable -> "5"。 它仍然失败,但带有:java.lang.IllegalArgumentException: Can not create a Path from a null string

在此链接:https://github.com/hortonworks-spark/shc/issues/151#issuecomment-313800739之后,我已添加到目录:,"tableCoder":"PrimitiveType"。 仍然面临相同的错误。

我看到人们期望对此问题进行澄清(https://github.com/hortonworks-spark/shc/issues/249#issuecomment-463528032)。

这是一个已知问题,显然似乎已解决(https://github.com/hortonworks-spark/shc/issues/155#issuecomment-315236736)。 我不知道下一步该怎么做。 有解决方案吗?

yuguanhai1 回答:推入现有的本地表故障(Windows):InvalidRegionNumberException然后IllegalArgumentException

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3160026.html

大家都在问