Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-19260

Spaces or "%20" in path parameter are not correctly handled with HistoryServer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Spark Core
    • None
    • linux

    Description

      case1: .sbin/start-history-server.sh "file:/a b"
      And you get the error ===>
      Caused by: java.lang.IllegalArgumentException: Log directory specified does not exist: file:/root/file:/a%20b.
      at org.apache.spark.deploy.history.FsHistoryProvider.org$apache$spark$deploy$history$FsHistoryProvider$$startPolling(FsHistoryProvider.scala:201)

      case2: ./start-history-server.sh "/a%20c"
      And you get the error ===>
      Caused by: java.lang.IllegalArgumentException: Log directory specified does not exist: file:/a%2520c/.
      at org.apache.spark.deploy.history.FsHistoryProvider.org$apache$spark$deploy$history$FsHistoryProvider$$startPolling(FsHistoryProvider.scala:201)

      Attachments

        Activity

          People

            zuo.tingbing9 zuotingbing
            zuo.tingbing9 zuotingbing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: