Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doujutun3207
flink
提交
bb62ab08
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,发现更多精彩内容 >>
提交
bb62ab08
编写于
3月 03, 2016
作者:
M
Maximilian Michels
提交者:
Stephan Ewen
3月 04, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[FLINK-3569] [build] Adjust test cases due to shading plugin base directory changes
上级
dbe9e596
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
19 addition
and
18 deletion
+19
-18
flink-batch-connectors/flink-avro/src/test/java/org/apache/flink/api/avro/AvroExternalJarProgramITCase.java
...g/apache/flink/api/avro/AvroExternalJarProgramITCase.java
+1
-1
flink-contrib/flink-storm-examples/src/main/java/org/apache/flink/storm/wordcount/WordCountRemoteByClient.java
...apache/flink/storm/wordcount/WordCountRemoteByClient.java
+1
-1
flink-dist/pom.xml
flink-dist/pom.xml
+9
-8
flink-scala-shell/src/test/scala/org/apache/flink/api/scala/ScalaShellITCase.scala
...t/scala/org/apache/flink/api/scala/ScalaShellITCase.scala
+1
-1
flink-tests/src/test/java/org/apache/flink/test/classloading/ClassLoaderITCase.java
...org/apache/flink/test/classloading/ClassLoaderITCase.java
+5
-5
flink-yarn-tests/src/main/java/org/apache/flink/yarn/YarnTestBase.java
...sts/src/main/java/org/apache/flink/yarn/YarnTestBase.java
+2
-2
未找到文件。
flink-batch-connectors/flink-avro/src/test/java/org/apache/flink/api/avro/AvroExternalJarProgramITCase.java
浏览文件 @
bb62ab08
...
...
@@ -40,7 +40,7 @@ import org.junit.Test;
public
class
AvroExternalJarProgramITCase
{
private
static
final
String
JAR_FILE
=
"
target/
maven-test-jar.jar"
;
private
static
final
String
JAR_FILE
=
"maven-test-jar.jar"
;
private
static
final
String
TEST_DATA_FILE
=
"/testdata.avro"
;
...
...
flink-contrib/flink-storm-examples/src/main/java/org/apache/flink/storm/wordcount/WordCountRemoteByClient.java
浏览文件 @
bb62ab08
...
...
@@ -50,7 +50,7 @@ import org.apache.flink.storm.api.FlinkTopology;
*/
public
class
WordCountRemoteByClient
{
public
final
static
String
topologyId
=
"Storm WordCount"
;
private
final
static
String
uploadedJarLocation
=
"
target/
WordCount-StormTopology.jar"
;
private
final
static
String
uploadedJarLocation
=
"WordCount-StormTopology.jar"
;
// *************************************************************************
// PROGRAM
...
...
flink-dist/pom.xml
浏览文件 @
bb62ab08
...
...
@@ -35,14 +35,6 @@ under the License.
<dependencies>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
force-shading
</artifactId>
<version>
1.0.0
</version>
<!-- This is necessary to prevent shading of this module -->
<scope>
provided
</scope>
</dependency>
<!-- BINARIES -->
<dependency>
<groupId>
org.apache.flink
</groupId>
...
...
@@ -186,6 +178,15 @@ under the License.
</transformers>
</configuration>
</execution>
<execution>
<!--
Disable inherited shade-flink to prevent the Shade plugin from changing the project.basedir. The basedir
is changed by the Shade plugin when dependencyReducedPomLocation is set to a different location than the
original basedir. We do that in the root pom.xml.
-->
<id>
shade-flink
</id>
<phase>
none
</phase>
</execution>
</executions>
</plugin>
...
...
flink-scala-shell/src/test/scala/org/apache/flink/api/scala/ScalaShellITCase.scala
浏览文件 @
bb62ab08
...
...
@@ -155,7 +155,7 @@ class ScalaShellITCase extends TestLogger {
// find jar file that contains the ml code
var
externalJar
=
""
val
folder
=
new
File
(
"../flink-libraries/flink-ml/target/"
)
val
folder
=
new
File
(
"../
../
flink-libraries/flink-ml/target/"
)
val
listOfFiles
=
folder
.
listFiles
()
for
(
i
<-
listOfFiles
.
indices
)
{
...
...
flink-tests/src/test/java/org/apache/flink/test/classloading/ClassLoaderITCase.java
浏览文件 @
bb62ab08
...
...
@@ -35,15 +35,15 @@ import static org.junit.Assert.fail;
public
class
ClassLoaderITCase
{
private
static
final
String
INPUT_SPLITS_PROG_JAR_FILE
=
"
target/
customsplit-test-jar.jar"
;
private
static
final
String
INPUT_SPLITS_PROG_JAR_FILE
=
"customsplit-test-jar.jar"
;
private
static
final
String
STREAMING_INPUT_SPLITS_PROG_JAR_FILE
=
"
target/
streaming-customsplit-test-jar.jar"
;
private
static
final
String
STREAMING_INPUT_SPLITS_PROG_JAR_FILE
=
"streaming-customsplit-test-jar.jar"
;
private
static
final
String
STREAMING_PROG_JAR_FILE
=
"
target/
streamingclassloader-test-jar.jar"
;
private
static
final
String
STREAMING_PROG_JAR_FILE
=
"streamingclassloader-test-jar.jar"
;
private
static
final
String
STREAMING_CHECKPOINTED_PROG_JAR_FILE
=
"
target/
streaming-checkpointed-classloader-test-jar.jar"
;
private
static
final
String
STREAMING_CHECKPOINTED_PROG_JAR_FILE
=
"streaming-checkpointed-classloader-test-jar.jar"
;
private
static
final
String
KMEANS_JAR_PATH
=
"
target/
kmeans-test-jar.jar"
;
private
static
final
String
KMEANS_JAR_PATH
=
"kmeans-test-jar.jar"
;
@Rule
public
TemporaryFolder
folder
=
new
TemporaryFolder
();
...
...
flink-yarn-tests/src/main/java/org/apache/flink/yarn/YarnTestBase.java
浏览文件 @
bb62ab08
...
...
@@ -252,7 +252,7 @@ public abstract class YarnTestBase extends TestLogger {
*
*/
public
static
void
ensureNoProhibitedStringInLogFiles
(
final
String
[]
prohibited
,
final
String
[]
whitelisted
)
{
File
cwd
=
new
File
(
"target/"
+
yarnConfiguration
.
get
(
TEST_CLUSTER_NAME_KEY
));
File
cwd
=
new
File
(
"target/"
+
yarnConfiguration
.
get
(
TEST_CLUSTER_NAME_KEY
));
Assert
.
assertTrue
(
"Expecting directory "
+
cwd
.
getAbsolutePath
()
+
" to exist"
,
cwd
.
exists
());
Assert
.
assertTrue
(
"Expecting directory "
+
cwd
.
getAbsolutePath
()
+
" to be a directory"
,
cwd
.
isDirectory
());
...
...
@@ -598,7 +598,7 @@ public abstract class YarnTestBase extends TestLogger {
// The files from there are picked up by the ./tools/travis_watchdog.sh script
// to upload them to Amazon S3.
if
(
isOnTravis
())
{
File
target
=
new
File
(
"../target
/"
+
yarnConfiguration
.
get
(
TEST_CLUSTER_NAME_KEY
));
File
target
=
new
File
(
"../target
"
+
yarnConfiguration
.
get
(
TEST_CLUSTER_NAME_KEY
));
if
(!
target
.
mkdirs
())
{
LOG
.
warn
(
"Error creating dirs to {}"
,
target
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录