You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Frank Scholten (JIRA)" <ji...@apache.org> on 2010/12/17 21:06:01 UTC
[jira] Created: (MAHOUT-566) Job-specific boolean options such as
--clustering cannot be set through program props file
Job-specific boolean options such as --clustering cannot be set through program props file
------------------------------------------------------------------------------------------
Key: MAHOUT-566
URL: https://issues.apache.org/jira/browse/MAHOUT-566
Project: Mahout
Issue Type: Bug
Affects Versions: 0.4
Environment: Ubuntu 10.10
Reporter: Frank Scholten
Fix For: 0.5
When I run mahout kmeans or the MahoutDriver with a kmeans.props that has all required parameters filled in and contains:
cl|clustering= true
I will get the following error message in the log: SEVERE: Unexpected true while processing Job-Specific Options
Running kmeans and specifying -cl or --clustering does work however.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MAHOUT-566) Job-specific boolean options such as
--clustering cannot be set through program props file
Posted by "Frank Scholten (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Scholten updated MAHOUT-566:
----------------------------------
Attachment: Mahout-566--Failing-Test.patch
Added failing test which demonstrates the problem
> Job-specific boolean options such as --clustering cannot be set through program props file
> ------------------------------------------------------------------------------------------
>
> Key: MAHOUT-566
> URL: https://issues.apache.org/jira/browse/MAHOUT-566
> Project: Mahout
> Issue Type: Bug
> Affects Versions: 0.4
> Environment: Ubuntu 10.10
> Reporter: Frank Scholten
> Fix For: 0.5
>
> Attachments: Mahout-566--Failing-Test.patch
>
>
> When I run mahout kmeans or the MahoutDriver with a kmeans.props that has all required parameters filled in and contains:
> cl|clustering= true
> I will get the following error message in the log: SEVERE: Unexpected true while processing Job-Specific Options
> Running kmeans and specifying -cl or --clustering does work however.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAHOUT-566) Job-specific boolean options such as
--clustering cannot be set through program props file
Posted by "Frank Scholten (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984771#action_12984771 ]
Frank Scholten commented on MAHOUT-566:
---------------------------------------
I tried adding cl|clustering= but I get
Running on hadoop, using HADOOP_HOME=/usr/local/hadoop
HADOOP_CONF_DIR=/usr/local/hadoop/conf
11/01/21 16:35:16 ERROR common.AbstractJob: Unexpected while processing Job-Specific Options:
usage: <command> [Generic Options] [Job-Specific Options]
> Job-specific boolean options such as --clustering cannot be set through program props file
> ------------------------------------------------------------------------------------------
>
> Key: MAHOUT-566
> URL: https://issues.apache.org/jira/browse/MAHOUT-566
> Project: Mahout
> Issue Type: Bug
> Affects Versions: 0.4
> Environment: Ubuntu 10.10
> Reporter: Frank Scholten
> Fix For: 0.5
>
> Attachments: Mahout-566--Failing-Test.patch
>
>
> When I run mahout kmeans or the MahoutDriver with a kmeans.props that has all required parameters filled in and contains:
> cl|clustering= true
> I will get the following error message in the log: SEVERE: Unexpected true while processing Job-Specific Options
> Running kmeans and specifying -cl or --clustering does work however.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAHOUT-566) Job-specific boolean options such as
--clustering cannot be set through program props file
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984936#action_12984936 ]
Hudson commented on MAHOUT-566:
-------------------------------
Integrated in Mahout-Quality #576 (See [https://hudson.apache.org/hudson/job/Mahout-Quality/576/])
MAHOUT-566 Possible fix; clean up the flow a little bit and make sure that empty args in .props file like "f|foo=", which are useful as booleans, result in "--foo" with no empty arg following
> Job-specific boolean options such as --clustering cannot be set through program props file
> ------------------------------------------------------------------------------------------
>
> Key: MAHOUT-566
> URL: https://issues.apache.org/jira/browse/MAHOUT-566
> Project: Mahout
> Issue Type: Bug
> Affects Versions: 0.4
> Environment: Ubuntu 10.10
> Reporter: Frank Scholten
> Assignee: Sean Owen
> Fix For: 0.5
>
> Attachments: Mahout-566--Failing-Test.patch
>
>
> When I run mahout kmeans or the MahoutDriver with a kmeans.props that has all required parameters filled in and contains:
> cl|clustering= true
> I will get the following error message in the log: SEVERE: Unexpected true while processing Job-Specific Options
> Running kmeans and specifying -cl or --clustering does work however.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAHOUT-566) Job-specific boolean options such as
--clustering cannot be set through program props file
Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983658#action_12983658 ]
Sean Owen commented on MAHOUT-566:
----------------------------------
What happens if you just write:
cl|clustering=
>From reading the code I think that's what would cause it to output "--clustering" instead of "--clustering true"
I can update the class to be clearer about this if so.
> Job-specific boolean options such as --clustering cannot be set through program props file
> ------------------------------------------------------------------------------------------
>
> Key: MAHOUT-566
> URL: https://issues.apache.org/jira/browse/MAHOUT-566
> Project: Mahout
> Issue Type: Bug
> Affects Versions: 0.4
> Environment: Ubuntu 10.10
> Reporter: Frank Scholten
> Fix For: 0.5
>
> Attachments: Mahout-566--Failing-Test.patch
>
>
> When I run mahout kmeans or the MahoutDriver with a kmeans.props that has all required parameters filled in and contains:
> cl|clustering= true
> I will get the following error message in the log: SEVERE: Unexpected true while processing Job-Specific Options
> Running kmeans and specifying -cl or --clustering does work however.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (MAHOUT-566) Job-specific boolean options such as
--clustering cannot be set through program props file
Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved MAHOUT-566.
------------------------------
Resolution: Fixed
Assignee: Sean Owen
I think I got it, try my latest commit. The "f|foo=" syntax should work now. It was resulting in "--foo" followed by an empty arg, which isn't what the parser accepts.
> Job-specific boolean options such as --clustering cannot be set through program props file
> ------------------------------------------------------------------------------------------
>
> Key: MAHOUT-566
> URL: https://issues.apache.org/jira/browse/MAHOUT-566
> Project: Mahout
> Issue Type: Bug
> Affects Versions: 0.4
> Environment: Ubuntu 10.10
> Reporter: Frank Scholten
> Assignee: Sean Owen
> Fix For: 0.5
>
> Attachments: Mahout-566--Failing-Test.patch
>
>
> When I run mahout kmeans or the MahoutDriver with a kmeans.props that has all required parameters filled in and contains:
> cl|clustering= true
> I will get the following error message in the log: SEVERE: Unexpected true while processing Job-Specific Options
> Running kmeans and specifying -cl or --clustering does work however.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.