I think it's just in the wrong place in the command line. It would have to
come before the class name for example. These are Java arguments, not
program arguments.

On Mon, May 30, 2011 at 3:12 AM, Qiuyan Xu
<[email protected]>wrote:

> Hello!
>
> I'm using KMeans mahout-0.4 and I face some problems when trying to add
> compression option in command line.
>
> I've tried both "-D mapred.output.compress=true" and
> "-Dmapred.output.compress=true", but neither works and there's an error
> message "ERROR common.AbstractJob: Unexpected -Dmapred.output.compress=true
> while processing Job-Specific Options".
>
> Additionally, I saw a comment in AbstractJob.java written " *
>  <li>-Dmapred.output.compress={true,false}: Compress final output (default
> true)</li>
> ". But in my test, the output is uncompressed.
>
> I've also tried to update MahoutDriver.java to the latest version and
> recompile mahout core, but i still can't solve the problem.
>
> Can anyone give me some help? Thanks in advance!
>
> Best regards,
> Qiuyan Xu
>
>

Reply via email to