You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "David Medinets (JIRA)" <ji...@apache.org> on 2014/09/17 02:05:34 UTC

[jira] [Commented] (ACCUMULO-2097) Add ability to load when from script when MiniAccumuloCluster starts up

    [ https://issues.apache.org/jira/browse/ACCUMULO-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14136548#comment-14136548 ] 

David Medinets commented on ACCUMULO-2097:
------------------------------------------

https://github.com/medined/D4M_Schema/blob/master/schema/src/main/java/com/codebits/examples/d4m/StateCSVToAccumulo.java provides an example of ingesting a csv file into the Accumulo D4M schema. There are some customization options. I only mention it because Arshak asked for a few features. 

I recommend closing this ticket. Whatever code starts the MiniAccumuloCluster could easily call a data load routine. No reason to burden the Accumulo team with maintaining this functionality. Just provide a few HTML links to existing projects.


> Add ability to load when from script when MiniAccumuloCluster starts up
> -----------------------------------------------------------------------
>
>                 Key: ACCUMULO-2097
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2097
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: instamo-archetype
>            Reporter: Michael Wall
>            Assignee: Josh Elser
>            Priority: Minor
>
> It would be helpful to be able load data from a script when the MiniAccumuloCluster starts up from the instamo-archetype generated project.  I was thinking something like the -f option from the shell which simply runs commands.  My idea here is that it is easy to load that same file on a real cluster and have the same data used in testing.  I have written something like this in the past that parsed the file and created mutations.
> [~elserj] suggested loading data from CSV, which was interesting as well.
> Ideally, this functionality would work for any example in the archetype, shell, mapreduce whatever.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)