Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3151

Hod should have better error messages.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16.3
    • 0.18.0
    • contrib/hod
    • None
    • Reviewed

    Description

      (1)
      gsgw1037:/homes/arkady/CDSR> hod allocate -n 4 -d xx
      error: bin/hod failed to start.
      error: invalid 'clusterdir' specified in section hod (--hod.clusterdir): xx
      error: 1 problem found.
      Check your command line options and/or your configuration file /grid/0/kryptonite/hod/conf/hodrc

      • Directory 'xx' does not exist - the message shuold say "Non-existing directory" (or "directory not found"), not "invalid"
      • checking the configuration file will not help, the advice is confusing
      • checking the command line options is the obvious thing to do – the advise is unnecessary.

      (2) when hod does not understand the command, it prints the whole help options message – which clobbers the screen and is confusing. It should give a meaningful message – and may say "type hod help for more info"

      Attachments

        1. HADOOP-3151
          12 kB
          Vinod Kumar Vavilapalli

        Activity

          People

            vinodkv Vinod Kumar Vavilapalli
            aborkovsky Arkady Borkovsky
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: