aboutsummaryrefslogtreecommitdiff
path: root/bigtop-tests/test-artifacts
diff options
context:
space:
mode:
authorJohn Mertic <jmertic@gmail.com>2016-06-03 19:06:39 -0400
committerRoman Shaposhnik <rvs@apache.org>2017-03-21 23:01:18 -0700
commit515c607425ad0606621d60165eba44baece61e85 (patch)
treeb185b94f34122b6321309390595be877e552e50b /bigtop-tests/test-artifacts
parent5c0dc2a29ac174e3f6e6c2ee1a10909b06f08fd0 (diff)
ODPI-140 - Fix warnings due to string cast to object (#67)
Diffstat (limited to 'bigtop-tests/test-artifacts')
-rw-r--r--bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hcfs/TestCLI.java2
-rw-r--r--bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSCLI.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hcfs/TestCLI.java b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hcfs/TestCLI.java
index 8de9b302..be673de4 100644
--- a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hcfs/TestCLI.java
+++ b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hcfs/TestCLI.java
@@ -71,7 +71,7 @@ public class TestCLI extends CLITestHelper {
"hadoop fs -mkdir -p " + TEST_DIR_ABSOLUTE,
"hadoop fs -chmod 777 " + TEST_DIR_ABSOLUTE
};
- shHDFS.exec(createTestcliDirCmds);
+ shHDFS.exec((Object[])createTestcliDirCmds);
// Check assumptions which would make some cases fail if not met
Assert.assertEquals("Creation of testcli dir should succeed and return 0"
diff --git a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSCLI.java b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSCLI.java
index 63d4232f..9959f708 100644
--- a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSCLI.java
+++ b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSCLI.java
@@ -58,7 +58,7 @@ public class TestDFSCLI extends TestHDFSCLI {
"hadoop fs -mkdir -p " + TEST_DIR_ABSOLUTE,
"hadoop fs -chmod 777 " + TEST_DIR_ABSOLUTE
};
- shHDFS.exec(createTestcliDirCmds);
+ shHDFS.exec((Object[])createTestcliDirCmds);
// Check assumptions which would make some cases fail if not met
Assert.assertEquals("Creation of testcli dir should succeed and return 0"