Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@
* the workload job is launched and it is verified that it completes successfully
* and is able to replay commands as expected.
*
* To run this test JAVA_HOME must be set correctly.
* This also relies on the {@code tar} and {@code truncate} utilities
* being available ({@code truncate} is generally required to run Dynamometer).
* To run this test JAVA_HOME must be set correctly, and the {@code tar} utility must be available.
*
* You can optionally specify which version of HDFS should be started within
* the Dynamometer cluster; the default is {@value HADOOP_BIN_VERSION_DEFAULT}. This can be adjusted
Expand Down Expand Up @@ -118,12 +116,6 @@ public static void setupClass() throws Exception {
if (tarCheck.getExitCode() != 0) {
fail("tar command is not available");
}
Shell.ShellCommandExecutor truncateCheck =
new Shell.ShellCommandExecutor(new String[] {"bash", "-c", "command -v truncate"});
truncateCheck.execute();
if (truncateCheck.getExitCode() != 0) {
fail("truncate command is not available");
}

conf = new Configuration();
// Follow the conventions of MiniDFSCluster
Expand Down