You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Martin Bukatovic (JIRA)" <ji...@apache.org> on 2014/06/18 11:02:31 UTC
[jira] [Comment Edited] (BIGTOP-1032) Refactor hdfs/TestCLI and
hdfs/TestAppend to be generic filesystem tests
[ https://issues.apache.org/jira/browse/BIGTOP-1032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14035432#comment-14035432 ]
Martin Bukatovic edited comment on BIGTOP-1032 at 6/18/14 9:00 AM:
-------------------------------------------------------------------
And closing as duplicate.
was (Author: mbukatov):
Closing as dupclicate.
> Refactor hdfs/TestCLI and hdfs/TestAppend to be generic filesystem tests
> -------------------------------------------------------------------------
>
> Key: BIGTOP-1032
> URL: https://issues.apache.org/jira/browse/BIGTOP-1032
> Project: Bigtop
> Issue Type: Improvement
> Components: Tests
> Affects Versions: 0.7.0
> Reporter: jay vyas
> Assignee: Martin Bukatovic
> Fix For: backlog
>
> Attachments: FSCmdExecutor.java, TestCLI.java
>
>
> The TestCLI and TestAppend classes both have hard references to an HDFS user shell, although most of their functionality is actually geared towards testing the abstract FileSystem interface.
> Removing a couple of lines from TestCLI:
> String[] createTestcliDirCmds = {"hadoop fs -mkdir -p " + TEST_DIR_ABSOLUTE,
> "hadoop fs -chmod 777 " + TEST_DIR_ABSOLUTE};
> shHDFS.exec(createTestcliDirCmds);
> And a this line from TestAppend:
> shHDFS.exec("hadoop fsck /user/$USERNAME/$testAppendInput/test2.file$date");
> This will essentially allow bigtop suites to be used to validate file system functionality in clusters with heterogenous https://wiki.apache.org/hadoop/HCFS/ implementations.
--
This message was sent by Atlassian JIRA
(v6.2#6252)