Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 1.4.0
    • Fix Version/s: 1.6.0
    • Component/s: Configuration
    • Labels:
      None

      Description

      We should add to the Flume User Guide a section on how to enable JMX, and a sample using JConsole. We can reference this link in the docs too:

      http://docs.oracle.com/javase/6/docs/technotes/guides/management/agent.html

      The following sample JVM args (set in flume-env.sh) allow me to successfully use JConsole to monitor a remove Flume agent:

      JAVA_OPTS="-Xms1024m -Xmx1024m -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=5445 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"

      1. FLUME-1594-0.patch
        1 kB
        Ashish Paliwal

        Issue Links

          Activity

          Hide
          hshreedharan Hari Shreedharan added a comment -
           -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false 

          This will disable security on the jmx remote monitoring and leave a port open on the machine. We must also document the security risk involved. There are ways to keep the port secure, which is documented in the link you posted in the description.

          Show
          hshreedharan Hari Shreedharan added a comment - -Dcom.sun.management.jmxremote.authenticate= false -Dcom.sun.management.jmxremote.ssl= false This will disable security on the jmx remote monitoring and leave a port open on the machine. We must also document the security risk involved. There are ways to keep the port secure, which is documented in the link you posted in the description.
          Hide
          paliwalashish Ashish Paliwal added a comment -

          Shall add a section to User Guide documenting the same.

          Show
          paliwalashish Ashish Paliwal added a comment - Shall add a section to User Guide documenting the same.
          Hide
          paliwalashish Ashish Paliwal added a comment -

          Patch

          Show
          paliwalashish Ashish Paliwal added a comment - Patch
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 35de8ff18d096bd41caf3dabbcadc70b7d90ac40 in flume's branch refs/heads/trunk from Roshan Naik
          [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=35de8ff ]

          FLUME-1594. Document JMX options

          (Ashish Paliwal via Roshan Naik)

          Show
          jira-bot ASF subversion and git services added a comment - Commit 35de8ff18d096bd41caf3dabbcadc70b7d90ac40 in flume's branch refs/heads/trunk from Roshan Naik [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=35de8ff ] FLUME-1594 . Document JMX options (Ashish Paliwal via Roshan Naik)
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 2c3ffe0342413e0faedc61b5f5fe17a1a9aeed1b in flume's branch refs/heads/flume-1.6 from Roshan Naik
          [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=2c3ffe0 ]

          FLUME-1594. Document JMX options

          (Ashish Paliwal via Roshan Naik)

          Show
          jira-bot ASF subversion and git services added a comment - Commit 2c3ffe0342413e0faedc61b5f5fe17a1a9aeed1b in flume's branch refs/heads/flume-1.6 from Roshan Naik [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=2c3ffe0 ] FLUME-1594 . Document JMX options (Ashish Paliwal via Roshan Naik)
          Hide
          roshan_naik Roshan Naik added a comment -

          +1
          will commit with a some rewording.
          Thanks Ashish for the patch.

          Show
          roshan_naik Roshan Naik added a comment - +1 will commit with a some rewording. Thanks Ashish for the patch.
          Hide
          roshan_naik Roshan Naik added a comment -

          committed.

          Show
          roshan_naik Roshan Naik added a comment - committed.
          Hide
          hudson Hudson added a comment -

          UNSTABLE: Integrated in flume-trunk #698 (See https://builds.apache.org/job/flume-trunk/698/)
          FLUME-1594. Document JMX options (roshan: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=35de8ff18d096bd41caf3dabbcadc70b7d90ac40)

          • flume-ng-doc/sphinx/FlumeUserGuide.rst
          Show
          hudson Hudson added a comment - UNSTABLE: Integrated in flume-trunk #698 (See https://builds.apache.org/job/flume-trunk/698/ ) FLUME-1594 . Document JMX options (roshan: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=35de8ff18d096bd41caf3dabbcadc70b7d90ac40 ) flume-ng-doc/sphinx/FlumeUserGuide.rst
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Flume-trunk-hbase-98 #55 (See https://builds.apache.org/job/Flume-trunk-hbase-98/55/)
          FLUME-1594. Document JMX options (roshan: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=35de8ff18d096bd41caf3dabbcadc70b7d90ac40)

          • flume-ng-doc/sphinx/FlumeUserGuide.rst
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Flume-trunk-hbase-98 #55 (See https://builds.apache.org/job/Flume-trunk-hbase-98/55/ ) FLUME-1594 . Document JMX options (roshan: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=35de8ff18d096bd41caf3dabbcadc70b7d90ac40 ) flume-ng-doc/sphinx/FlumeUserGuide.rst

            People

            • Assignee:
              paliwalashish Ashish Paliwal
              Reporter:
              will@cloudera.com Will McQueen
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development