This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new a0ab1720ab8 Revert "[SPARK-40976][BUILD] Upgrade sbt to 1.7.3"
a0ab1720ab8 is described below

commit a0ab1720ab8d6f0101c31ab6225cabbd1cf57d23
Author: Linhong Liu <linhong....@databricks.com>
AuthorDate: Wed Nov 2 10:02:53 2022 +0900

    Revert "[SPARK-40976][BUILD] Upgrade sbt to 1.7.3"
    
    ### What changes were proposed in this pull request?
    This reverts commit 9fc3aa0b1c092ab1f13b26582e3ece7440fbfc3b.
    
    ### Why are the changes needed?
    The upgrade breaks `dev/sbt-checkstyle` script, below is the error
    ```
    [error] org.xml.sax.SAXParseException; lineNumber: 18; columnNumber: 10; 
DOCTYPE is disallowed when the feature 
"http://apache.org/xml/features/disallow-doctype-decl"; set to true.
    [error]         at 
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    [error]         at 
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    [error]         at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    [error]         at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    [error]         at 
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1473)
    [error]         at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:914)
    [error]         at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    [error]         at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
    [error]         at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    [error]         at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    [error]         at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    [error]         at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    [error]         at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
    [error]         at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
    [error]         at scala.xml.factory.XMLLoader.parse(XMLLoader.scala:73)
    [error]         at scala.xml.factory.XMLLoader.loadXML(XMLLoader.scala:54)
    [error]         at scala.xml.factory.XMLLoader.loadXML$(XMLLoader.scala:53)
    [error]         at scala.xml.XML$.loadXML(XML.scala:62)
    [error]         at 
scala.xml.factory.XMLLoader.loadString(XMLLoader.scala:92)
    [error]         at 
scala.xml.factory.XMLLoader.loadString$(XMLLoader.scala:92)
    [error]         at scala.xml.XML$.loadString(XML.scala:62)
    [error]         at 
com.etsy.sbt.checkstyle.Checkstyle$.checkstyle(Checkstyle.scala:35)
    [error]         at 
com.etsy.sbt.checkstyle.CheckstylePlugin$autoImport$.$anonfun$checkstyleTask$1(CheckstylePlugin.scala:36)
    [error]         at 
com.etsy.sbt.checkstyle.CheckstylePlugin$autoImport$.$anonfun$checkstyleTask$1$adapted(CheckstylePlugin.scala:34)
    [error]         at scala.Function1.$anonfun$compose$1(Function1.scala:49)
    [error]         at 
sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
    [error]         at sbt.std.Transform$$anon$4.work(Transform.scala:68)
    [error]         at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
    [error]         at 
sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
    [error]         at sbt.Execute.work(Execute.scala:291)
    [error]         at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
    [error]         at 
sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
    [error]         at 
sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
    [error]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    [error]         at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    [error]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    [error]         at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    [error]         at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    [error]         at java.lang.Thread.run(Thread.java:748)
    ```
    
    Closes #38476 from linhongliu-db/fix-sbt.
    
    Authored-by: Linhong Liu <linhong....@databricks.com>
    Signed-off-by: Hyukjin Kwon <gurwls...@apache.org>
---
 dev/appveyor-install-dependencies.ps1 | 2 +-
 project/build.properties              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev/appveyor-install-dependencies.ps1 
b/dev/appveyor-install-dependencies.ps1
index 1c36e76fb0f..743f777a332 100644
--- a/dev/appveyor-install-dependencies.ps1
+++ b/dev/appveyor-install-dependencies.ps1
@@ -97,7 +97,7 @@ if (!(Test-Path $tools)) {
 # ========================== SBT
 Push-Location $tools
 
-$sbtVer = "1.7.3"
+$sbtVer = "1.7.2"
 Start-FileDownload 
"https://github.com/sbt/sbt/releases/download/v$sbtVer/sbt-$sbtVer.zip"; 
"sbt.zip"
 
 # extract
diff --git a/project/build.properties b/project/build.properties
index f5c34287a4d..690b5c9058b 100644
--- a/project/build.properties
+++ b/project/build.properties
@@ -15,4 +15,4 @@
 # limitations under the License.
 #
 # Please update the version in appveyor-install-dependencies.ps1 together.
-sbt.version=1.7.3
+sbt.version=1.7.2


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to