Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13710

JarListHandler always extract the jar package

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

       

      // JarListHandler class
      // handleRequest method
      
      for (String clazz : classes) {
         clazz = clazz.trim();
      
         PackagedProgram program = null;
         try {
            // here
            program = new PackagedProgram(f, clazz, new String[0]);
         } catch (Exception ignored) {
            // ignore jar files which throw an error upon creating a PackagedProgram
         }
         if (program != null) {
            JarListInfo.JarEntryInfo jarEntryInfo = new JarListInfo.JarEntryInfo(clazz, program.getDescription());
            jarEntryList.add(jarEntryInfo);
         }
      }
      

      When I open the submit page of the jm web (http://localhost:7081/#/submit), the background always decompresses the lib directory in the job jar package until the temp directory is full.

      If the jobmanager just gets the jar information, the submit page should not extract the jar package.

      And I think the same jar only needs to be decompressed once, and should not be decompressed every time it is submitted.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                barneyye ChengWei Ye
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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