jay vyas created BIGTOP-1317:
--------------------------------
Summary: Make variable names in Flume Test reflect the HCFS
Compliance.
Key: BIGTOP-1317
URL: https://issues.apache.org/jira/browse/BIGTOP-1317
Project: Bigtop
Issue Type: Bug
Components: Tests
Reporter: jay vyas
Fix For: backlog
This is a pretty quick task we can do : The Flume tests appear to be HCFS
Compliant, because they use a variable for the file system URI, but there are a
bunch of variables (like nn, hdfs_sink, ...) which at first glance make it
look to be hard coded to hdfs.
Lets clean up the variable names, for example
{noformat}
private static String hdfs_sink_dir =
"${nn}/user/${System.properties['user.name']}/$tmp";
{noformat}
could be alot simpler:
{noformat}
//will write, for example, to hdfs://user/bigtop-tester/tmp/
private static String hcfs_sink_dir =
"${System.properties['user.name']}/$tmp";
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)