You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Ed Kohlwey (JIRA)" <ji...@apache.org> on 2012/09/05 15:29:07 UTC

[jira] [Created] (ACCUMULO-752) Add support for importDirectory to the mock instance

Ed Kohlwey created ACCUMULO-752:
-----------------------------------

             Summary: Add support for importDirectory to the mock instance
                 Key: ACCUMULO-752
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-752
             Project: Accumulo
          Issue Type: Improvement
          Components: client
    Affects Versions: 1.4.0, 1.5.0, 1.4.1
            Reporter: Ed Kohlwey
            Assignee: Billie Rinaldi


Adding import support for the mock instance is fairly trivial and is useful for testing mapreduce pipelines.

I'm attaching a patch for 1.4.1 but forward-porting to 1.5 should be pretty easy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ACCUMULO-752) Add support for importDirectory to the mock instance

Posted by "Eric Newton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448803#comment-13448803 ] 

Eric Newton commented on ACCUMULO-752:
--------------------------------------

Nice work.

The filesystem needs to be passed to the original MockInstance constructor to avoid talking to the wrong filesystem based on the configuration in the classpath.
                
> Add support for importDirectory to the mock instance
> ----------------------------------------------------
>
>                 Key: ACCUMULO-752
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-752
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 1.5.0, 1.4.1, 1.4.0
>            Reporter: Ed Kohlwey
>            Assignee: Ed Kohlwey
>         Attachments: ACCUMULO-752.patch
>
>
> Adding import support for the mock instance is fairly trivial and is useful for testing mapreduce pipelines.
> I'm attaching a patch for 1.4.1 but forward-porting to 1.5 should be pretty easy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (ACCUMULO-752) Add support for importDirectory to the mock instance

Posted by "Christopher Tubbs (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Tubbs updated ACCUMULO-752:
---------------------------------------

    Affects Version/s:     (was: 1.4.1)
                           (was: 1.5.0)
                           (was: 1.4.0)
    
> Add support for importDirectory to the mock instance
> ----------------------------------------------------
>
>                 Key: ACCUMULO-752
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-752
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>            Reporter: Ed Kohlwey
>            Assignee: Ed Kohlwey
>             Fix For: 1.5.0, 1.4.2
>
>         Attachments: ACCUMULO-752.patch
>
>
> Adding import support for the mock instance is fairly trivial and is useful for testing mapreduce pipelines.
> I'm attaching a patch for 1.4.1 but forward-porting to 1.5 should be pretty easy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ACCUMULO-752) Add support for importDirectory to the mock instance

Posted by "Ed Kohlwey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448886#comment-13448886 ] 

Ed Kohlwey commented on ACCUMULO-752:
-------------------------------------

Thanks. 

Eric, can you elaborate on your suggestion? Shouldn't it be safe to assume that if the user wants a different file system that they will specify it in the file name using URI syntax? What if people begin leveraging the new method in old code where a conflict might occur? Under what conditions might that happen? How would you propose handling the current MockInstance constructor that doesn't take that argument?
                
> Add support for importDirectory to the mock instance
> ----------------------------------------------------
>
>                 Key: ACCUMULO-752
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-752
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 1.5.0, 1.4.1, 1.4.0
>            Reporter: Ed Kohlwey
>            Assignee: Ed Kohlwey
>         Attachments: ACCUMULO-752.patch
>
>
> Adding import support for the mock instance is fairly trivial and is useful for testing mapreduce pipelines.
> I'm attaching a patch for 1.4.1 but forward-porting to 1.5 should be pretty easy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (ACCUMULO-752) Add support for importDirectory to the mock instance

Posted by "Billie Rinaldi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Billie Rinaldi reassigned ACCUMULO-752:
---------------------------------------

    Assignee: Ed Kohlwey  (was: Billie Rinaldi)

Hey Ed, thanks for the patch.  I've added you to our contributor group in JIRA.
                
> Add support for importDirectory to the mock instance
> ----------------------------------------------------
>
>                 Key: ACCUMULO-752
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-752
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 1.5.0, 1.4.1, 1.4.0
>            Reporter: Ed Kohlwey
>            Assignee: Ed Kohlwey
>         Attachments: ACCUMULO-752.patch
>
>
> Adding import support for the mock instance is fairly trivial and is useful for testing mapreduce pipelines.
> I'm attaching a patch for 1.4.1 but forward-porting to 1.5 should be pretty easy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (ACCUMULO-752) Add support for importDirectory to the mock instance

Posted by "Christopher Tubbs (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Tubbs updated ACCUMULO-752:
---------------------------------------

    Fix Version/s: 1.5.0
    
> Add support for importDirectory to the mock instance
> ----------------------------------------------------
>
>                 Key: ACCUMULO-752
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-752
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>            Reporter: Ed Kohlwey
>            Assignee: Ed Kohlwey
>             Fix For: 1.5.0, 1.4.2
>
>         Attachments: ACCUMULO-752.patch
>
>
> Adding import support for the mock instance is fairly trivial and is useful for testing mapreduce pipelines.
> I'm attaching a patch for 1.4.1 but forward-porting to 1.5 should be pretty easy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ACCUMULO-752) Add support for importDirectory to the mock instance

Posted by "Eric Newton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449044#comment-13449044 ] 

Eric Newton commented on ACCUMULO-752:
--------------------------------------

Mostly I just want the fake shell to work:

{noformat}
./bin/accumulo shell -fake
Enter current password for 'ecn'@'fake': 

Shell - Apache Accumulo Interactive Shell
- 
- version: 1.5.0-SNAPSHOT
- instance name: mock-instance
- instance id: mock-instance-id
- 
- type 'help' for a list of available commands
- 
ecnewt2@mock-instance> createtable foo
ecn@mock-instance foo> importdirectory /tmp/foo /tmp/bar true
{noformat}


                
> Add support for importDirectory to the mock instance
> ----------------------------------------------------
>
>                 Key: ACCUMULO-752
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-752
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 1.5.0, 1.4.1, 1.4.0
>            Reporter: Ed Kohlwey
>            Assignee: Ed Kohlwey
>         Attachments: ACCUMULO-752.patch
>
>
> Adding import support for the mock instance is fairly trivial and is useful for testing mapreduce pipelines.
> I'm attaching a patch for 1.4.1 but forward-porting to 1.5 should be pretty easy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (ACCUMULO-752) Add support for importDirectory to the mock instance

Posted by "Christopher Tubbs (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Tubbs updated ACCUMULO-752:
---------------------------------------

    Fix Version/s: 1.4.2
    
> Add support for importDirectory to the mock instance
> ----------------------------------------------------
>
>                 Key: ACCUMULO-752
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-752
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>            Reporter: Ed Kohlwey
>            Assignee: Ed Kohlwey
>             Fix For: 1.5.0, 1.4.2
>
>         Attachments: ACCUMULO-752.patch
>
>
> Adding import support for the mock instance is fairly trivial and is useful for testing mapreduce pipelines.
> I'm attaching a patch for 1.4.1 but forward-porting to 1.5 should be pretty easy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (ACCUMULO-752) Add support for importDirectory to the mock instance

Posted by "Ed Kohlwey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ed Kohlwey updated ACCUMULO-752:
--------------------------------

    Attachment: ACCUMULO-752.patch
    
> Add support for importDirectory to the mock instance
> ----------------------------------------------------
>
>                 Key: ACCUMULO-752
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-752
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 1.5.0, 1.4.1, 1.4.0
>            Reporter: Ed Kohlwey
>            Assignee: Billie Rinaldi
>         Attachments: ACCUMULO-752.patch
>
>
> Adding import support for the mock instance is fairly trivial and is useful for testing mapreduce pipelines.
> I'm attaching a patch for 1.4.1 but forward-porting to 1.5 should be pretty easy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira