Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2913

Flume classpath too long

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • None

    Description

      Starting Flume generates the FLUME_CLASSPATH variable dynamically, adding jars one by one.
      In some cases, the classpath can grow too long, sometimes exceeding ARG_MAX, maximum length of arguments for a new process ( http://www.in-ulm.de/~mascheck/various/argmax/ )
      Thus, being unable to start Flume:
      flume-ng/bin/flume-ng: line 239: /usr/java/jdk1.7.0_67/bin/java: Argument list too long

      Attachments

        1. FLUME-2913.patch
          1 kB
          Balázs Donát Bessenyei

        Activity

          People

            bessbd Balázs Donát Bessenyei
            bessbd Balázs Donát Bessenyei
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: