You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Grant Ingersoll (Created) (JIRA)" <ji...@apache.org> on 2011/12/02 15:01:40 UTC

[jira] [Created] (MAHOUT-909) Make it so you can pass in all the answers to the questions asked in the example shell scripts

Make it so you can pass in all the answers to the questions asked in the example shell scripts
----------------------------------------------------------------------------------------------

                 Key: MAHOUT-909
                 URL: https://issues.apache.org/jira/browse/MAHOUT-909
             Project: Mahout
          Issue Type: Improvement
            Reporter: Grant Ingersoll
            Priority: Minor
             Fix For: 0.6


For shell scripts like asf-email-examples, make it so that one can pass in the answers on the command line.  This will facilitate automatically testing these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MAHOUT-909) Make it so you can pass in all the answers to the questions asked in the example shell scripts

Posted by "Grant Ingersoll (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grant Ingersoll resolved MAHOUT-909.
------------------------------------

    Resolution: Fixed

Thanks, Raphael!  Committed revision 1210963.
                
> Make it so you can pass in all the answers to the questions asked in the example shell scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-909
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-909
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>             Fix For: 0.6
>
>         Attachments: MAHOUT-909.patch, MAHOUT-909.patch
>
>
> For shell scripts like asf-email-examples, make it so that one can pass in the answers on the command line.  This will facilitate automatically testing these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAHOUT-909) Make it so you can pass in all the answers to the questions asked in the example shell scripts

Posted by "Raphael Cendrillon (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162861#comment-13162861 ] 

Raphael Cendrillon commented on MAHOUT-909:
-------------------------------------------

Thanks Grant. Could you give me an example of the possible ways this is being called, in particular with the -ni flag, so that I can be sure to maintain all of the existing functionality?

I could also add a usage statement if less than 2 arguments are given, does that sound reasonable?
                
> Make it so you can pass in all the answers to the questions asked in the example shell scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-909
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-909
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>             Fix For: 0.6
>
>         Attachments: MAHOUT-909.patch
>
>
> For shell scripts like asf-email-examples, make it so that one can pass in the answers on the command line.  This will facilitate automatically testing these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAHOUT-909) Make it so you can pass in all the answers to the questions asked in the example shell scripts

Posted by "Raphael Cendrillon (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raphael Cendrillon updated MAHOUT-909:
--------------------------------------

    Attachment:     (was: MAHOUT-909.patch)
    
> Make it so you can pass in all the answers to the questions asked in the example shell scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-909
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-909
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>             Fix For: 0.6
>
>         Attachments: MAHOUT-909.patch, MAHOUT-909.patch
>
>
> For shell scripts like asf-email-examples, make it so that one can pass in the answers on the command line.  This will facilitate automatically testing these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAHOUT-909) Make it so you can pass in all the answers to the questions asked in the example shell scripts

Posted by "Raphael Cendrillon (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163422#comment-13163422 ] 

Raphael Cendrillon commented on MAHOUT-909:
-------------------------------------------

Here's an update.
                
> Make it so you can pass in all the answers to the questions asked in the example shell scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-909
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-909
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>             Fix For: 0.6
>
>         Attachments: MAHOUT-909.patch, MAHOUT-909.patch
>
>
> For shell scripts like asf-email-examples, make it so that one can pass in the answers on the command line.  This will facilitate automatically testing these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (MAHOUT-909) Make it so you can pass in all the answers to the questions asked in the example shell scripts

Posted by "Raphael Cendrillon (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raphael Cendrillon reassigned MAHOUT-909:
-----------------------------------------

    Assignee: Raphael Cendrillon
    
> Make it so you can pass in all the answers to the questions asked in the example shell scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-909
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-909
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Assignee: Raphael Cendrillon
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>             Fix For: 0.6
>
>         Attachments: MAHOUT-909.patch, MAHOUT-909.patch
>
>
> For shell scripts like asf-email-examples, make it so that one can pass in the answers on the command line.  This will facilitate automatically testing these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAHOUT-909) Make it so you can pass in all the answers to the questions asked in the example shell scripts

Posted by "Grant Ingersoll (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162769#comment-13162769 ] 

Grant Ingersoll commented on MAHOUT-909:
----------------------------------------

I think that's pretty close.  It is a bit clunky with the $OVER parameter.  Perhaps we should just drop that and instead do what we do in classify-20newsgroups and add a "clean" option.  Otherwise, yeah, you are on the right track.
                
> Make it so you can pass in all the answers to the questions asked in the example shell scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-909
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-909
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>             Fix For: 0.6
>
>         Attachments: MAHOUT-909.patch
>
>
> For shell scripts like asf-email-examples, make it so that one can pass in the answers on the command line.  This will facilitate automatically testing these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAHOUT-909) Make it so you can pass in all the answers to the questions asked in the example shell scripts

Posted by "Grant Ingersoll (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163244#comment-13163244 ] 

Grant Ingersoll commented on MAHOUT-909:
----------------------------------------

I don't think we really need to worry about -ni, as I think that is just non-interactive, which this presumably replaces.
                
> Make it so you can pass in all the answers to the questions asked in the example shell scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-909
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-909
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>             Fix For: 0.6
>
>         Attachments: MAHOUT-909.patch
>
>
> For shell scripts like asf-email-examples, make it so that one can pass in the answers on the command line.  This will facilitate automatically testing these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAHOUT-909) Make it so you can pass in all the answers to the questions asked in the example shell scripts

Posted by "Raphael Cendrillon (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raphael Cendrillon updated MAHOUT-909:
--------------------------------------

    Attachment: MAHOUT-909.patch
    
> Make it so you can pass in all the answers to the questions asked in the example shell scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-909
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-909
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>             Fix For: 0.6
>
>         Attachments: MAHOUT-909.patch, MAHOUT-909.patch
>
>
> For shell scripts like asf-email-examples, make it so that one can pass in the answers on the command line.  This will facilitate automatically testing these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAHOUT-909) Make it so you can pass in all the answers to the questions asked in the example shell scripts

Posted by "Raphael Cendrillon (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raphael Cendrillon updated MAHOUT-909:
--------------------------------------

    Attachment: MAHOUT-909.patch
    
> Make it so you can pass in all the answers to the questions asked in the example shell scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-909
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-909
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>             Fix For: 0.6
>
>         Attachments: MAHOUT-909.patch, MAHOUT-909.patch
>
>
> For shell scripts like asf-email-examples, make it so that one can pass in the answers on the command line.  This will facilitate automatically testing these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAHOUT-909) Make it so you can pass in all the answers to the questions asked in the example shell scripts

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163726#comment-13163726 ] 

Hudson commented on MAHOUT-909:
-------------------------------

Integrated in Mahout-Quality #1229 (See [https://builds.apache.org/job/Mahout-Quality/1229/])
    MAHOUT-909: added help, can now pass in arguments instead of solely using prompts

gsingers : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1210963
Files : 
* /mahout/trunk/examples/bin/asf-email-examples.sh
* /mahout/trunk/examples/bin/classify-20newsgroups.sh
* /mahout/trunk/examples/bin/cluster-reuters.sh
* /mahout/trunk/examples/bin/cluster-syntheticcontrol.sh
* /mahout/trunk/examples/bin/factorize-movielens-1M.sh
* /mahout/trunk/examples/bin/factorize-netflix.sh

                
> Make it so you can pass in all the answers to the questions asked in the example shell scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-909
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-909
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>             Fix For: 0.6
>
>         Attachments: MAHOUT-909.patch, MAHOUT-909.patch
>
>
> For shell scripts like asf-email-examples, make it so that one can pass in the answers on the command line.  This will facilitate automatically testing these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAHOUT-909) Make it so you can pass in all the answers to the questions asked in the example shell scripts

Posted by "Raphael Cendrillon (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162725#comment-13162725 ] 

Raphael Cendrillon commented on MAHOUT-909:
-------------------------------------------

Is this what you have in mind?  If so I'll update the other shell scripts aswell.
                
> Make it so you can pass in all the answers to the questions asked in the example shell scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-909
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-909
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>             Fix For: 0.6
>
>         Attachments: MAHOUT-909.patch
>
>
> For shell scripts like asf-email-examples, make it so that one can pass in the answers on the command line.  This will facilitate automatically testing these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAHOUT-909) Make it so you can pass in all the answers to the questions asked in the example shell scripts

Posted by "Raphael Cendrillon (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raphael Cendrillon updated MAHOUT-909:
--------------------------------------

    Attachment: MAHOUT-909.patch
    
> Make it so you can pass in all the answers to the questions asked in the example shell scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-909
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-909
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>             Fix For: 0.6
>
>         Attachments: MAHOUT-909.patch
>
>
> For shell scripts like asf-email-examples, make it so that one can pass in the answers on the command line.  This will facilitate automatically testing these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira