拥有一个安全集群,版本为6.0.0.20171109191718.GA,并尝试在Windows 10上安装mapr-client(来自此处的mapr文档:https://mapr.com/docs/60/AdvancedInstallation/SettingUptheClient-windows.html)。尝试运行configure.bat脚本时看到错误:
C:\opt\mapr>server\configure.bat -N mycluster.cluster.local -c -secure -C node001:7222,node002:7222,node003:7222
Don't forget to copy conf\ssl_truststore from a server on your cluster.
The system cannot find the file specified.
The system cannot find the path specified.
'-Xmx512m' is not recognized as an internal or external command,
operable program or batch file.
Ultimatley,尝试在Windows上运行mapr数据科学精炼厂docker映像(并假设需要在主机OS上使用mapr客户端才能正常工作)。协助或建议,将不胜感激。请让我知道任何有助于提供记录的日志或其他信息。
答案 0 :(得分:1)
经过一些调试后,发现问题归结于JAVA_HOME env变量包含空格,是...
$ echo %JAVA_HOME%
C:\Program Files\Java\jdk1.8.0_131
此处(https://stackoverflow.com/a/52281439/8236733)后面的帖子用等价的Program Files
代替了PROGRA~1
。
是否可以通过...创建映射器票证并测试访问权限?
ssl_truststore
文件从群集上的/opt/mapr/conf
目录复制到客户端上的c:\opt\mapr\conf
目录创建MapR票证
C:\opt\mapr>bin\maprlogin.bat password -user mapr -cluster <clustername>
验证票证内容并测试连接性
C:\opt\mapr>bin\maprlogin.bat print
C:\opt\mapr>bin\maprlogin.bat authtest
列出MapR FS的内容
C:\opt\mapr>hadoop\hadoop-2.7.0\bin\hadoop.cmd fs -ls /
<should be able to see top level HDFS location>