[
https://issues.apache.org/jira/browse/BIGTOP-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14356803#comment-14356803
]
Martin Bukatovic edited comment on BIGTOP-1748 at 3/11/15 12:25 PM:
--------------------------------------------------------------------
Yes, {{org.apache.bigtop.itest.hadoop.hcfs.TestCLI}} executes tests from
{{testHCFSConf.xml}} which are valid for any Hadoop filesystem - hence the name
HCFS was chosen (hadoop compatible filesystem). On the other hand if the test
is specific to HDFS, it should go to {{testHDFSConf.xml}} which is executed by
{{org.apache.bigtop.itest.hadoop.hdfs.TestHDFSCLI}}.
This also means that on Hadoop cluster with HDFS filesystem, you would run both
TestCLI and TestHDFSCLI tests, while on Hadoop cluster with GlusterFS (or any
other alternative filesystem), you only run TestCLI.
was (Author: mbukatov):
Yes, {{org.apache.bigtop.itest.hadoop.hcfs.TestCLI}} executes tests from
{{testHCFSConf.xml}} which are valid for any Hadoop filesystem - hence the name
HCFS was chosen (hadoop compatible filesystem). On the other hand if the test
is specific to HDFS, it should go to {{testHDFSConf.xml}} which is executed by
{{org.apache.bigtop.itest.hadoop.hdfs.TestHDFSCLI}}.
> Remove assert on fs.trash.interval from TestCLI and TestDFSCLI
> --------------------------------------------------------------
>
> Key: BIGTOP-1748
> URL: https://issues.apache.org/jira/browse/BIGTOP-1748
> Project: Bigtop
> Issue Type: Bug
> Affects Versions: 0.8.0
> Reporter: Dasha Boudnik
> Assignee: Dasha Boudnik
> Fix For: 0.9.0
>
> Attachments: BIGTOP-1748.patch
>
>
> Currently, the following assert causes these CLI tests (and TestHDFSCLI,
> which extends TestCLI) to fail on clusters where this configuration is set
> otherwise:
> {noformat}Assert.assertEquals("HDFS trash should be disabled via
> fs.trash.interval",
> 0, conf.getInt("fs.trash.interval", 0));{noformat}
> I believe this isn't necessary for these tests, so let's remove it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)