Help Center> MapReduce Service> Developer Guide (Normal_3.x)> Storm Development Guide (Security Mode)> More Information> FAQ> How Do I Handle the Error "Command line is too long" Reported When Main Is Executed for Remote Topology Submission in IntelliJ IDEA
Updated on 2023-04-10 GMT+08:00

How Do I Handle the Error "Command line is too long" Reported When Main Is Executed for Remote Topology Submission in IntelliJ IDEA

Question

When the Main method is executed to remotely submit a topology in IntelliJ IDEA, the following error is reported:

Command line is too long. Shorten command line for ServiceStarter or also for Application default configuration.

Answer

  1. Open the .idea\workspace.xml file in the project.
  2. Find the <component name="PropertiesComponent"> tag and add <property name="dynamic.classpath" value="true" />, as shown in Figure 1.

    Figure 1 Modifying the .idea\workspace.xml file