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

Variable name inconsistency in "Reading Data" client code snippet

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: 1.5.0
    • Component/s: docs
    • Labels:
      None

      Description

      On the "Writing Clients" doc page, in the section "SCANNER" (at http://accumulo.apache.org/1.4/user_manual/Writing_Accumulo_Clients.html#Reading_Data), there is the following code snippet:

      for(Entry<Key,Value> entry : scan) {
          String row = e.getKey().getRow();
          Value value = e.getValue();
      }
      

      In the loop body, e should be entry.

      The same error also exists further down the page in the "BATCHSCANNER" section.

        Activity

        Hide
        hudson Hudson added a comment -

        Integrated in Accumulo-1.5 #44 (See https://builds.apache.org/job/Accumulo-1.5/44/)
        ACCUMULO-1040 fixed code in documentation (Revision 1459004)

        Result = FAILURE
        kturner :
        Files :

        • /accumulo/branches/1.5/docs/src/user_manual/chapters/clients.tex
        Show
        hudson Hudson added a comment - Integrated in Accumulo-1.5 #44 (See https://builds.apache.org/job/Accumulo-1.5/44/ ) ACCUMULO-1040 fixed code in documentation (Revision 1459004) Result = FAILURE kturner : Files : /accumulo/branches/1.5/docs/src/user_manual/chapters/clients.tex
        Hide
        hudson Hudson added a comment -

        Integrated in Accumulo-1.5-Hadoop-2.0 #42 (See https://builds.apache.org/job/Accumulo-1.5-Hadoop-2.0/42/)
        ACCUMULO-1040 fixed code in documentation (Revision 1459004)

        Result = ABORTED
        kturner :
        Files :

        • /accumulo/branches/1.5/docs/src/user_manual/chapters/clients.tex
        Show
        hudson Hudson added a comment - Integrated in Accumulo-1.5-Hadoop-2.0 #42 (See https://builds.apache.org/job/Accumulo-1.5-Hadoop-2.0/42/ ) ACCUMULO-1040 fixed code in documentation (Revision 1459004) Result = ABORTED kturner : Files : /accumulo/branches/1.5/docs/src/user_manual/chapters/clients.tex
        Hide
        hudson Hudson added a comment -

        Integrated in Accumulo-Trunk #790 (See https://builds.apache.org/job/Accumulo-Trunk/790/)
        ACCUMULO-896 Added some info about automatic splitting to user manual.
        ACCUMULO-1039 Added info about table creation and versioning iterator to docs.
        ACCUMULO-1040 fixed code in documentation
        ACCUMULO-804 another FileNotFoundException being thrown: going to keep it, though (Revision 1459026)

        Result = FAILURE
        kturner :
        Files :

        • /accumulo/trunk
        • /accumulo/trunk/assemble
        • /accumulo/trunk/core
        • /accumulo/trunk/docs/src/user_manual/chapters/clients.tex
        • /accumulo/trunk/docs/src/user_manual/chapters/design.tex
        • /accumulo/trunk/docs/src/user_manual/chapters/table_configuration.tex
        • /accumulo/trunk/examples
        • /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/ZooStore.java
        • /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java
        • /accumulo/trunk/server
        • /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/recovery/HadoopLogCloser.java
        • /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/recovery/RecoveryManager.java
        • /accumulo/trunk/src
        Show
        hudson Hudson added a comment - Integrated in Accumulo-Trunk #790 (See https://builds.apache.org/job/Accumulo-Trunk/790/ ) ACCUMULO-896 Added some info about automatic splitting to user manual. ACCUMULO-1039 Added info about table creation and versioning iterator to docs. ACCUMULO-1040 fixed code in documentation ACCUMULO-804 another FileNotFoundException being thrown: going to keep it, though (Revision 1459026) Result = FAILURE kturner : Files : /accumulo/trunk /accumulo/trunk/assemble /accumulo/trunk/core /accumulo/trunk/docs/src/user_manual/chapters/clients.tex /accumulo/trunk/docs/src/user_manual/chapters/design.tex /accumulo/trunk/docs/src/user_manual/chapters/table_configuration.tex /accumulo/trunk/examples /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/ZooStore.java /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java /accumulo/trunk/server /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/recovery/HadoopLogCloser.java /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/recovery/RecoveryManager.java /accumulo/trunk/src
        Hide
        hudson Hudson added a comment -

        Integrated in Accumulo-Trunk-Hadoop-2.0 #149 (See https://builds.apache.org/job/Accumulo-Trunk-Hadoop-2.0/149/)
        ACCUMULO-896 Added some info about automatic splitting to user manual.
        ACCUMULO-1039 Added info about table creation and versioning iterator to docs.
        ACCUMULO-1040 fixed code in documentation
        ACCUMULO-804 another FileNotFoundException being thrown: going to keep it, though (Revision 1459026)

        Result = ABORTED
        kturner :
        Files :

        • /accumulo/trunk
        • /accumulo/trunk/assemble
        • /accumulo/trunk/core
        • /accumulo/trunk/docs/src/user_manual/chapters/clients.tex
        • /accumulo/trunk/docs/src/user_manual/chapters/design.tex
        • /accumulo/trunk/docs/src/user_manual/chapters/table_configuration.tex
        • /accumulo/trunk/examples
        • /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/ZooStore.java
        • /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java
        • /accumulo/trunk/server
        • /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/recovery/HadoopLogCloser.java
        • /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/recovery/RecoveryManager.java
        • /accumulo/trunk/src
        Show
        hudson Hudson added a comment - Integrated in Accumulo-Trunk-Hadoop-2.0 #149 (See https://builds.apache.org/job/Accumulo-Trunk-Hadoop-2.0/149/ ) ACCUMULO-896 Added some info about automatic splitting to user manual. ACCUMULO-1039 Added info about table creation and versioning iterator to docs. ACCUMULO-1040 fixed code in documentation ACCUMULO-804 another FileNotFoundException being thrown: going to keep it, though (Revision 1459026) Result = ABORTED kturner : Files : /accumulo/trunk /accumulo/trunk/assemble /accumulo/trunk/core /accumulo/trunk/docs/src/user_manual/chapters/clients.tex /accumulo/trunk/docs/src/user_manual/chapters/design.tex /accumulo/trunk/docs/src/user_manual/chapters/table_configuration.tex /accumulo/trunk/examples /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/ZooStore.java /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java /accumulo/trunk/server /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/recovery/HadoopLogCloser.java /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/recovery/RecoveryManager.java /accumulo/trunk/src

          People

          • Assignee:
            kturner Keith Turner
            Reporter:
            mberman Michael Berman
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development