reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Yang <johnya...@gmail.com>
Subject Re: Error on HelloREEFYarn
Date Wed, 24 May 2017 08:07:06 GMT
Hi Seokchan,


Maybe your YARN_HOME is pointing to a wrong directory?
My ~/.bash_profile looks like this:

export HADOOP_INSTALL=/Users/johnyang/Documents/workspace/hadoop-2.7.2
export HADOOP_HOME=$HADOOP_INSTALL
export YARN_HOME=$HADOOP_HOME
export YARN_CONF_DIR=$HADOOP_HOME/etc/hadoop
export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop

If that doesn't work, maybe you can find a working setup in the Ubuntu
VirtualBox image from BOSS tutorial:
https://cwiki.apache.org/confluence/display/REEF/BOSS+Tutorial

Hope this helps!


John

On Tue, May 23, 2017 at 7:38 PM, 안석찬 <ahnsc93@gmail.com> wrote:

> Hi,
>
> I have some trouble running HelloREEFYarn <https://cwiki.apache.org/
> confluence/pages/viewpage.action?pageId=56066242>.
>
> I tried a command below but it has an error.
>
> yarn jar lang/java/reef-examples/target/reef-examples-0.16.0-SNAPSHOT-shaded.jar
> org.apache.reef.examples.hello.HelloREEFYarn
>
> Error: Could not find or load main class org.apache.hadoop.util.RunJar
>
> How to resolve this error?
>
> --------------------
>
> I installed hadoop 2.8.0 with brew.
> This is part of my .zshrc.
>
> export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_
> 102.jdk/Contents/Home/jre"
> export YARN_HOME="/usr/local/Cellar/hadoop/2.8.0/libexec"
> export REEF_HOME="/Users/scan/Workspace/reef"
> export HADOOP_HOME="/usr/local/Cellar/hadoop/2.8.0"
> export HADOOP_CONF_DIR="/usr/local/Cellar/hadoop/2.8.0/libexec/etc/hadoop"
> export HADOOP_PREFIX=$HADOOP_HOME
> export HADOOP_CLASSPATH=$(hadoop classpath):$HADOOP_CLASSPATH

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message