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

Flume classpath too long

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

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

          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:

              Slack

                Issue deployment