Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8154199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:15:42+00:00 2026-06-06T16:15:42+00:00

I tried to follow many online tutorials to run kmeans example present in Mahout.

  • 0

I tried to follow many online tutorials to run kmeans example present in Mahout.
But did not succeed yet to get meaningful output. The main problem I am facing is,
the conversion from text file to sequencefile and back.

  1. When I followed the steps of “Mahout Wiki” for “Clustering of synthetic control data”
    (https://cwiki.apache.org/MAHOUT/clustering-of-synthetic-control-data.html) I could run the clustering process (using $MAHOUT_HOME/bin/mahout org.apache.mahout.clustering.syntheticcontrol.kmeans.Job) and that created some readable console output. But I wish to get output files (as the size is large) from the clustering process.
    The output files which were generated by Mahout clustering are all sequence file and I cant convert them to readable files.
    When I tried to do “clusterdump” ($MAHOUT_HOME/bin/mahout clusterdump –seqFileDir output/clusters-10…) I got errors.
    First it complains that “seqFileDir” option is unexpected and I guess either there is no “seqFileDir” for clusterdump or I am missing something.

  2. Trying to use Mahout in the way of “mahout in action” seems tricky. I am not sure what are the required classes (“import ??”) to compile that code.

Can you please suggest me the steps to successfully RUN kmeans on Mahout ? Specially how to get readable output from sequence files ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T16:15:44+00:00Added an answer on June 6, 2026 at 4:15 pm

    Regarding 2nd question – you can obtain source code for the book from the repository. The code in master branch is for Mahout 0.5, while code in the branches mahout-0.6 & mahout-0.7 is for corresponding Mahout’s version.

    The source code is also posted to book’s site, so you download it there (but this is version only for Mahout 0.5)

    P.S. If you’re reading book right now, then I recommend to use Mahout 0.5 or 0.6, as all code was checked for version 0.5, while for other versions it will be different – this is especially true for clustering code in Mahout 0.7

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried to follow this but the default modelbinder let my array null on
I just got out of a small project and I've tried to follow a
I have started using Simple-form and Bootstrap and I have tried to follow this
I want to tail multiple files (and follow them) in CentOS, I've tried this:
tried uncommenting pam_limits.so from the pam.d directory but no luck. Basic PAM seems to
Not a very common implementation, but using Processing as a Java Servlet has been
This is a follow up question to this one: Query examples in a many-to-many
I've tried using GDB and Valgrind, but I can't seem to pinpoint the problem.
I'm trying to follow my college notes, and I've tried googling the error and
I try to google, but I can't fixed my problem. Many people have this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.