1
我試圖運行this getting started sample將數據加載到我的單節點HDInsight hadoop集羣中。當我運行示例我得到的錯誤,如下圖所示:加載數據時HDInsight虛擬機初始化錯誤
c:\Hadoop\GettingStarted>powershell -ExecutionPolicy unrestricted -F importdata.
ps1 w3c
Attempting to import scenario w3c
Path
----
C:\Hadoop\GettingStarted\w3c
Error occurred during initialization of VM
java.nio.charset.IllegalCharsetNameException:
at java.nio.charset.Charset.checkName(Charset.java:273)
at java.nio.charset.Charset.lookup2(Charset.java:458)
at java.nio.charset.Charset.lookup(Charset.java:437)
at java.nio.charset.Charset.defaultCharset(Charset.java:579)
at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:37)
at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:94)
at java.io.PrintStream.<init>(PrintStream.java:100)
at java.lang.System.initializeSystemClass(System.java:1092)