hi, folks, I am trying to setup HBase on Mac. And hit this problem, which is discussed hbase-12081 and HADOOP-14586.
My mac is on JAVA10 already. I tried both HBase1.2x(through homebrew) and 1.3.2, and hit the same problem. wondering whether there is an easy bypass without downgrading the java version? Thanks Demai the error log is: Exception in thread "main" java.lang.ExceptionInInitializerError at org.apache.hadoop.util.GenericOptionsParser.preProcessForWindows(GenericOptionsParser.java:432) at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:478) at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:170) at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:153) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:64) at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126) at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2622) Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3107) at java.base/java.lang.String.substring(String.java:1873) at org.apache.hadoop.util.Shell.<clinit>(Shell.java:49) ... 7 more
