diff options
author | John Mertic <jmertic@gmail.com> | 2016-06-03 19:06:39 -0400 |
---|---|---|
committer | Roman Shaposhnik <rvs@apache.org> | 2017-03-21 23:01:18 -0700 |
commit | 515c607425ad0606621d60165eba44baece61e85 (patch) | |
tree | b185b94f34122b6321309390595be877e552e50b /bigtop-tests/test-artifacts | |
parent | 5c0dc2a29ac174e3f6e6c2ee1a10909b06f08fd0 (diff) |
ODPI-140 - Fix warnings due to string cast to object (#67)
Diffstat (limited to 'bigtop-tests/test-artifacts')
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" |