Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doujutun3207
flink
提交
20fcb24e
F
flink
项目概览
doujutun3207
/
flink
与 Fork 源项目一致
从无法访问的项目Fork
通知
24
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
flink
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
20fcb24e
编写于
2月 18, 2014
作者:
R
Robert Metzger
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[yarn] deploy new yarn.tgz with travis, fix file permission in binary
上级
d92b111f
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
17 addition
and
18 deletion
+17
-18
stratosphere-addons/yarn/src/main/java/eu/stratosphere/yarn/Client.java
...ddons/yarn/src/main/java/eu/stratosphere/yarn/Client.java
+3
-5
stratosphere-dist/src/main/assemblies/yarn.xml
stratosphere-dist/src/main/assemblies/yarn.xml
+1
-1
tools/deploy_to_maven.sh
tools/deploy_to_maven.sh
+13
-12
未找到文件。
stratosphere-addons/yarn/src/main/java/eu/stratosphere/yarn/Client.java
浏览文件 @
20fcb24e
...
...
@@ -343,12 +343,10 @@ public class Client {
@Override
public
void
run
()
{
try
{
LOG
.
info
(
"Killing the
YARN instance
."
);
LOG
.
info
(
"Killing the
Stratosphere-YARN application
."
);
yarnClient
.
killApplication
(
appId
);
}
catch
(
YarnException
e
)
{
e
.
printStackTrace
();
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
catch
(
Exception
e
)
{
LOG
.
warn
(
"Exception while killing the YARN application"
,
e
);
}
LOG
.
info
(
"YARN Client is shutting down"
);
yarnClient
.
stop
();
...
...
stratosphere-dist/src/main/assemblies/yarn.xml
浏览文件 @
20fcb24e
...
...
@@ -101,7 +101,7 @@
<file>
<source>
src/main/stratosphere-bin/bin/stratosphere
</source>
<outputDirectory>
bin/
</outputDirectory>
<fileMode>
0
644
</fileMode>
<fileMode>
0
755
</fileMode>
</file>
<file>
<source>
src/main/stratosphere-bin/bin/config.sh
</source>
...
...
tools/deploy_to_maven.sh
浏览文件 @
20fcb24e
...
...
@@ -6,7 +6,7 @@
# 1. Deploy to sonatype (old hadoop)
# 2. Nothing
# 3. Deploy to s3 (old hadoop)
# 4. deploy to sonatype (yarn hadoop)
# 4. deploy to sonatype (yarn hadoop)
(this build will also generate specific poms for yarn hadoop)
# 5. Nothing
# 6. deploy to s3 (yarn hadoop)
...
...
@@ -79,30 +79,31 @@ if [[ $TRAVIS_PULL_REQUEST == "false" ]] ; then
# Please be sure not to use Build 1 as it will always be the yarn build.
#
UBER_JAR
=
""
YARN_ARCHIVE
=
""
if
[[
$TRAVIS_JOB_NUMBER
==
*
6
]]
;
then
#generate yarn poms & build for yarn.
./tools/generate_specific_pom.sh
$CURRENT_STRATOSPHERE_VERSION
$CURRENT_STRATOSPHERE_VERSION_YARN
pom.xml
mvn
-B
-DskipTests
clean
install
# it is not required to generate poms for this build.
#./tools/generate_specific_pom.sh $CURRENT_STRATOSPHERE_VERSION $CURRENT_STRATOSPHERE_VERSION_YARN pom.xml
#mvn -B -DskipTests clean install
CURRENT_STRATOSPHERE_VERSION
=
$CURRENT_STRATOSPHERE_VERSION_YARN
UBER_JAR
=
"stratosphere-dist/target/*yarn*.jar
"
YARN_ARCHIVE
=
"stratosphere-dist/target/*yarn.tar.gz
"
fi
if
[[
$TRAVIS_JOB_NUMBER
==
*
3
]]
||
[[
$TRAVIS_JOB_NUMBER
==
*
6
]]
;
then
sudo
apt-get
install
sshpass
cd
stratosphere-dist
mvn
-B
-DskipTests
-Pdebian-package
package
cd
..
echo
"Uploading build to dopa.dima.tu-berlin.de. Job Number:
$TRAVIS_JOB_NUMBER
"
# cd stratosphere-dist
# mvn -B -DskipTests -Pdebian-package package
# cd ..
echo
"Uploading build to amazon s3. Job Number:
$TRAVIS_JOB_NUMBER
"
mkdir
stratosphere
cp
-r
stratosphere-dist/target/stratosphere-dist-
$CURRENT_STRATOSPHERE_VERSION
-bin
/stratosphere-
$CURRENT_STRATOSPHERE_VERSION
/
*
stratosphere/
tar
-czf
stratosphere-
$CURRENT_STRATOSPHERE_VERSION
.tgz stratosphere
# upload the two in parallel
if
[[
$TRAVIS_JOB_NUMBER
==
*
6
]]
;
then
travis-artifacts upload
--path
$UBER_JAR
--target-path
/
# move to current dir
mv
$YARN_ARCHIVE
.
travis-artifacts upload
--path
*
yarn.tar.gz
--target-path
/
fi
travis-artifacts upload
--path
stratosphere-
$CURRENT_STRATOSPHERE_VERSION
.tgz
--target-path
/
#sshpass -p "$DOPA_PASS" scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -r stratosphere-$CURRENT_STRATOSPHERE_VERSION.tgz $UBER_JAR $DOPA_USER@dopa.dima.tu-berlin.de:bin/
fi
fi
# pull request check
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录