Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2866

Fix rmr depricated and people* No such file or directory error

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: spark, tests
    • Labels:
      None
    • Environment:

      Debian installed D05 AArch64 machine.

      Description

      While running the spark smoke tests, Observed the following error messages on Debian installed D05 (AArch64) machine.

      Logs:
      -------
      ..
      .....
      ...........
      .............
      Successfully started process 'Gradle Test Executor 2'
      Gradle Test Executor 2 started executing tests.

      Gradle Test Executor 2 finished executing tests.
      org.apache.bigtop.itest.spark.TestSpark STANDARD_OUT
      Failed command: hdfs dfs -rmr people* examples
      error code: 1
      stdout: [Deleted examples]
      stderr: [rmr: DEPRECATED: Please use 'rm -r' instead., rmr: `people*': No such file or directory, 17/08/07 09:22:34 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 0 minutes, Emptier interval = 0 minutes.]
      Finished generating test XML results (0.09 secs) into: /bigtop-home/bigtop-tests/smoke-tests/spark/build/test-results
      Generating HTML test report...
      Finished generating test html results (0.077 secs) into: /bigtop-home/bigtop-tests/smoke-tests/spark/build/reports/tests
      Now testing...
      :bigtop-tests:smoke-tests:spark:test (Thread[main,5,main]) completed. Took 1 mins 29.932 secs.

      BUILD SUCCESSFUL

      Total time: 2 mins 11.162 secs
      Stopped 1 compiler daemon(s).

      ...
      ..........

        Issue Links

          Activity

          Hide
          cos Konstantin Boudnik added a comment -

          Committed, thanks!

          Show
          cos Konstantin Boudnik added a comment - Committed, thanks!
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/bigtop/pull/274

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/bigtop/pull/274
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user c0s commented on the issue:

          https://github.com/apache/bigtop/pull/274

          That must break the test everywhere, ie independent of a platform. +1

          Show
          githubbot ASF GitHub Bot added a comment - Github user c0s commented on the issue: https://github.com/apache/bigtop/pull/274 That must break the test everywhere, ie independent of a platform. +1
          Hide
          evans_ye Evans Ye added a comment -

          LGTM, +1

          Show
          evans_ye Evans Ye added a comment - LGTM, +1
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user nareshgbhat opened a pull request:

          https://github.com/apache/bigtop/pull/274

          BIGTOP-2866:Fix rmr and people directory error

          The below error is issued while running the spark smoke
          tests on AArch64 architecture. The patch will fix the issues.
          ...
          ....
          org.apache.bigtop.itest.spark.TestSpark STANDARD_OUT
          Failed command: hdfs dfs -rmr people* examples
          error code: 1
          stdout: [Deleted examples]
          stderr: [rmr: DEPRECATED: Please use 'rm -r' instead.,
          rmr: `people*': No such file or directory,
          ...
          .....

          Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org>

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/nareshgbhat/bigtop BIGTOP-2866

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/bigtop/pull/274.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #274


          commit b6b4c5d13b9bdd04b97cffad4a7daf37d64875d4
          Author: Naresh Bhat <naresh.bhat@linaro.org>
          Date: 2017-08-07T09:34:59Z

          BIGTOP-2866:Fix rmr and people directory error

          The below error is issued while running the spark smoke
          tests on AArch64 architecture. The patch will fix the issues.
          ...
          ....
          org.apache.bigtop.itest.spark.TestSpark STANDARD_OUT
          Failed command: hdfs dfs -rmr people* examples
          error code: 1
          stdout: [Deleted examples]
          stderr: [rmr: DEPRECATED: Please use 'rm -r' instead.,
          rmr: `people*': No such file or directory,
          ...
          .....

          Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org>


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user nareshgbhat opened a pull request: https://github.com/apache/bigtop/pull/274 BIGTOP-2866 :Fix rmr and people directory error The below error is issued while running the spark smoke tests on AArch64 architecture. The patch will fix the issues. ... .... org.apache.bigtop.itest.spark.TestSpark STANDARD_OUT Failed command: hdfs dfs -rmr people* examples error code: 1 stdout: [Deleted examples] stderr: [rmr: DEPRECATED: Please use 'rm -r' instead., rmr: `people*': No such file or directory, ... ..... Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org> You can merge this pull request into a Git repository by running: $ git pull https://github.com/nareshgbhat/bigtop BIGTOP-2866 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/bigtop/pull/274.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #274 commit b6b4c5d13b9bdd04b97cffad4a7daf37d64875d4 Author: Naresh Bhat <naresh.bhat@linaro.org> Date: 2017-08-07T09:34:59Z BIGTOP-2866 :Fix rmr and people directory error The below error is issued while running the spark smoke tests on AArch64 architecture. The patch will fix the issues. ... .... org.apache.bigtop.itest.spark.TestSpark STANDARD_OUT Failed command: hdfs dfs -rmr people* examples error code: 1 stdout: [Deleted examples] stderr: [rmr: DEPRECATED: Please use 'rm -r' instead., rmr: `people*': No such file or directory, ... ..... Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org>

            People

            • Assignee:
              nbhat Naresh Bhat
              Reporter:
              nbhat Naresh Bhat
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development