forked from Angel-ML/angel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Angel-ML#1 from Tencent/master
ri
- Loading branch information
Showing
427 changed files
with
47,367 additions
and
7,905 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ "$HADOOP_HOME" = "" ]; then | ||
echo "HADOOP_HOME is not set" | ||
exit 1 | ||
fi | ||
|
||
bin=`which $0` | ||
bin=`dirname ${bin}` | ||
bin=`cd "$bin"; pwd` | ||
|
||
conf="$bin"/../conf | ||
lib="$bin"/../lib | ||
|
||
echo $lib | ||
export ANGEL_HOME="$bin/../" | ||
|
||
DEFAULT_LIBEXEC_DIR="$HADOOP_HOME"/libexec | ||
HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR} | ||
. $HADOOP_LIBEXEC_DIR/hadoop-config.sh | ||
|
||
for f in "$lib"/*.jar; do | ||
echo $f | ||
if [ "$CLASSPATH" ]; then | ||
export CLASSPATH=$CLASSPATH:$f | ||
else | ||
export CLASSPATH=$f | ||
fi | ||
done | ||
|
||
export CLASS="com.tencent.angel.utils.AngelRunJar" | ||
|
||
export CLASSPATH=$CLASSPATH | ||
echo "$ANGEL_HOME" | ||
exec "$JAVA" $JAVA_HEAP_MAX $HADOOP_OPTS $CLASS "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/usr/bin/env bash | ||
|
||
export HADOOP_HOME="/data/tesla/tdwgaia_angel" | ||
export JAVA_HOME="/data/tesla/jdk1.8.0_101" | ||
export PATH=$JAVA_HOME/bin:$PATH | ||
|
||
if [ "$HADOOP_HOME" = "" ]; then | ||
echo "HADOOP_HOME is not set" | ||
exit 1 | ||
fi | ||
|
||
bin=`which $0` | ||
bin=`dirname ${bin}` | ||
bin=`cd "$bin"; pwd` | ||
|
||
conf="$bin"/../conf | ||
lib="$bin"/../lib | ||
|
||
echo $lib | ||
export ANGEL_HOME="$bin/../" | ||
|
||
DEFAULT_LIBEXEC_DIR="$HADOOP_HOME"/libexec | ||
HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR} | ||
. $HADOOP_LIBEXEC_DIR/hadoop-config.sh | ||
|
||
for f in "$lib"/*.jar; do | ||
echo $f | ||
if [ "$CLASSPATH" ]; then | ||
export CLASSPATH=$CLASSPATH:$f | ||
else | ||
export CLASSPATH=$f | ||
fi | ||
done | ||
|
||
|
||
export CLASS="com.tencent.jarvis.angel.middleware.submit4Angel" | ||
export JAVA=/data/tesla/jdk1.8.0_101/bin/java | ||
|
||
echo "$ANGEL_HOME" | ||
echo $CLASSPATH | ||
echo "class is:" $CLASS | ||
|
||
echo $JAVA $JAVA_HEAP_MAX $HADOOP_OPTS $CLASS "$@" "-Dfs.defaultFS=hdfs://tl-nn-tdw.tencent-distribute.com:54310" | ||
exec "$JAVA" $JAVA_HEAP_MAX $HADOOP_OPTS $CLASS "$@" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
angel-ps/core/src/main/java/com/tencent/angel/ipc/ServerNotRunningYetException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.