请帮助解决hadoop流的“-file”选项问题(在下面的链接中提到)。只是为了更新,我知道 jar 已经在那里,在我尝试 hadoop-streaming 不同的类文件失败后,我正在尝试此操作,以便确定类文件本身或我的方式是否有问题使用它。如果您需要 stderr 文件,请告诉我。
Java 类文件的 Hadoop Streaming -file 选项出现问题< /a>.
Please help with the "-file" option issue of hadoop streaming (mentioned in the link below). just to update, I know that the jar is already there, I am trying this after I tried hadoop-streaming for a different class file which failed, so to identify if there is something wrong with the class file itself or with the way I am using it. if you need the stderr file please let me know.
Problem with Hadoop Streaming -file option for Java class files.
发布评论
评论(2)
您不能真正使用 -file 来发送 jar,因为 hadoop 不支持多个 jar(不在 CLASSPATH 中),请检查 流媒体文档:
you can't really use -file to send over jars as hadoop doesn't support multiple jars (that were not already in the CLASSPATH), check the streaming docs:
要将多个 jar 文件添加到 CLASSPATH..,您可以使用 hadoop 教程(在页面上搜索单词“libjar”)。
To add more than one jar file to the CLASSPATH.. you could use the -libjars options as specified in the hadoop tutorial (search for the word "libjar" on the page).