microsoft / azure-tools-for-java

Azure tools for Java, including Azure Toolkits for Eclipse, IntelliJ and related projects.
Other
239 stars 165 forks source link

[IntelliJ][2019.3 EAP][console]Results is wrong when use command 'spark.sessionState' to run interactive console with link a cluster #3693

Closed v-lanjli closed 4 years ago

v-lanjli commented 5 years ago

IntelliJ build version: 2019.3 EAP IC-193.4778.7 OS: Mac/Win/Linux JDK: JetBrains s.r.o 11.0.4 Plugin version: 3.28.0-LATEST-EAP-SNAPSHOT

Repro Steps:

  1. Open IntelliJ and install the EAP plugin
  2. Link a cluster
  3. Create config, and select a linked cluster
  4. Tools -> Spark Console -> Run Spark Livy Interactive Session Console(Scala)
  5. Enter 'spark.sessionState', press Ctrl+Enter to run
  6. Check the result

Actual: Show ‘res3: String = Unnamed >> Spark Livy Interactive Session Console(Scala)spark.sessionState’ image Expectation: Spark> spark.sessionState res3: org.apache.spark.sql.internal.SessionState = org.apache.spark.sql.internal.SessionState@2723a65d

v-lanjli commented 4 years ago

Verified and fixed, closed this issue. image