You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "jay vyas (JIRA)" <ji...@apache.org> on 2014/05/20 15:00:39 UTC
[jira] [Created] (BIGTOP-1317) Make variable names in Flume Test
reflect the HCFS Compliance.
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)