java.lang.IllegalArgumentException: System memory 259522560 must be at least 4.718592E8. Please use a larger heap size.
解決:
設置應用程序的 VM options
idea的設置路徑在:Run -Edit Configurations-Application選擇對應的程序,設置VM options,如下:
-Xms256m -Xmx1024m
scala ide下的設置爲:
eclispe 中window->preferences->Java->Installed JRE ,點擊右側的Edit 按鈕,在編輯界面中的 “Default VM Arguments ”選項中,編輯。
could not locate executable **winutils.exe in the Hadoop binaries
windows環境下,解決:could not locate executable **winutils.exe in the Hadoop binaries.問題:
ERROR Shell: Failed to locate the winutils binary in the hadoop binary path
java.io.IOException: Could not locate executable E:\hadoop-2.6.3\bin\winutils.exe in the Hadoop binaries.
解決:將winutils.exe文件導入到對應Hadoop的bin目錄下面去,就搞定!(放到HADOOP_HOME對應的hadoop版本目錄下面)