Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-225

Setting Locality Groups via the API throws an exception

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.3.5-incubating
    • None
    • client, docs
    • None

    Description

      If a client attempts to set locality groups via the API and the client does not have core-site.xml on its classpath, the following exception is thrown after the groups are actually successfully set.

      Exception in thread "main" org.apache.accumulo.core.client.impl.HdfsZooInstance$AccumuloNotInitializedException: Accumulo not initialized, there is no instance id at /accumulo/instance_id

      The exception is confusing because:
      1) the group(s) are actually created successfully
      2) the exception misleads the user to believe there is something wrong with Accumulo's configuration where the problem is that the client isn't actually connecting to HDFS properly because it is missing core-site.xml on its classpath.

      Attachments

        Issue Links

          Activity

            People

              billie Billie Rinaldi
              jaredwinick Jared Winick
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: