Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Wrote a test that checks functionality of hdfs append in a few scenarios.

        Activity

        Hide
        Sujay Rau added a comment -

        Fixed Shell issues

        Show
        Sujay Rau added a comment - Fixed Shell issues
        Hide
        Roman Shaposhnik added a comment -

        Was this tested? 'cuz the following looks suspect:

          @Test
          public void testAppendOnPreExistingFile() {
            // configuration and file system set up
            Configuration conf = new Configuration();
            String namenode = conf.get("fs.defaultFS");
            if (sh.getRet() != 0) {
        

        I don't see any prior calls to sh.exec() to make sh.getRe() work.

        Show
        Roman Shaposhnik added a comment - Was this tested? 'cuz the following looks suspect: @Test public void testAppendOnPreExistingFile() { // configuration and file system set up Configuration conf = new Configuration(); String namenode = conf.get("fs.defaultFS"); if (sh.getRet() != 0) { I don't see any prior calls to sh.exec() to make sh.getRe() work.
        Hide
        Sujay Rau added a comment -

        Fixing sh.get problem and package problem

        Show
        Sujay Rau added a comment - Fixing sh.get problem and package problem
        Hide
        Sujay Rau added a comment -

        Added new patch for this test

        Show
        Sujay Rau added a comment - Added new patch for this test
        Hide
        Roman Shaposhnik added a comment -

        +1 and committed!

        Show
        Roman Shaposhnik added a comment - +1 and committed!

          People

          • Assignee:
            Sujay Rau
            Reporter:
            Sujay Rau
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development