Details

    • Type: Documentation Documentation
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: v1.3.0, v1.4.0
    • Fix Version/s: v1.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

          Will McQueen created issue -
          Hide
          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
          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.
          Hari Shreedharan made changes -
          Field Original Value New Value
          Issue Type Bug [ 1 ] Task [ 3 ]
          Brock Noland made changes -
          Fix Version/s v1.4.0 [ 12323372 ]
          Fix Version/s v1.3.0 [ 12322140 ]
          Israel Ekpo made changes -
          Issue Type Task [ 3 ] Documentation [ 20 ]
          Mike Percy made changes -
          Fix Version/s v1.4.0 [ 12323372 ]
          Ashish Paliwal made changes -
          Assignee Ashish Paliwal [ paliwalashish ]
          Hide
          Ashish Paliwal added a comment -

          Shall add a section to User Guide documenting the same.

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

          Patch

          Show
          Ashish Paliwal added a comment - Patch
          Ashish Paliwal made changes -
          Attachment FLUME-1594-0.patch [ 12625339 ]
          Ashish Paliwal made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s v1.4.0 [ 12323372 ]
          Ashish Paliwal made changes -
          Remote Link This issue links to "Review Request (Web Link)" [ 13822 ]
          Hide
          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
          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
          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
          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 added a comment -

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

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

          committed.

          Show
          Roshan Naik added a comment - committed.
          Roshan Naik made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s v1.6.0 [ 12327047 ]
          Resolution Fixed [ 1 ]
          Hide
          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 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 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 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:
              Ashish Paliwal
              Reporter:
              Will McQueen
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development