Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-26232

There will be failure when executing shell.py and wrong order of imports for WidgetResourceProvider.java

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • ambari-agent
    • None

    Description

      In shell.py, there are some syntax error and undefined variables, which will cause the failure when executing the shell.py.

       

      In addition, when we compile Ambari using the following command, an error occurs:  Wrong order for 'com.google.gson.JsonElement' import.

      mvn clean install rpm:rpm -DskipTests -Drat.skip=true

      The reason:

      we have specified the import order in checkstyle.xml file. if it does not match the order of imports in the file, the compilation will fail.

       

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            guluo guluo
            guluo guluo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h

                Slack

                  Issue deployment