Results 1 to 3 of 3

Thread: How to provide access to multiple Input-paths to a job

  1. #1

    Question How to provide access to multiple Input-paths to a job

    I am trying to port an existing Hadoop application which requires access to multiple input-paths. In the current application, this is achieved using: FileInputFormat.addInputPath( job, listedPaths[i] )
    The addInputPath() method here adds the Path to the list of inputs for the map-reduce job.

    Is there a way in Spring Hadoop to achieve the same? Please suggest. Thanks

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Yes - just use a comma when declaring them and you're set.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  3. #3

    Default

    Thanks. This worked.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •