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 cd865baf384 [SPARK-39906][INFRA] Eliminate build warnings - 'sbt 0.13 
shell syntax is deprecated; use slash syntax instead'
cd865baf384 is described below

commit cd865baf38486ed6c06ec6d8d9fff67ab8f7e8ab
Author: panbingkun <pbk1...@gmail.com>
AuthorDate: Fri Jul 29 11:10:15 2022 +0900

    [SPARK-39906][INFRA] Eliminate build warnings - 'sbt 0.13 shell syntax is 
deprecated; use slash syntax instead'
    
    ### What changes were proposed in this pull request?
    **The following warnings are displayed in github action log:**
    > 1../2_Run  Build modules catalyst, 
hive-thriftserver.txt:2022-07-27T01:23:12.1294533Z [warn] sbt 0.13 shell syntax 
is deprecated; use slash syntax instead: examples / Test / package, avro / Test 
/ package, network-shuffle / Test / package, sketch / Test / package, unsafe / 
Test / package, launcher / Test / package, network-yarn / Test / package, 
streaming / Test / package, catalyst / Test / package, hive-thriftserver / Test 
/ package, kvstore / Test / package, core / Test / package, [...]
    
    > 2../Run  Scala 2.13 build with SBT/7_Build with 
SBT.txt:2022-07-27T01:30:27.0571032Z [warn] sbt 0.13 shell syntax is 
deprecated; use slash syntax instead: examples / Test / compile, avro / Test / 
compile, network-shuffle / Test / compile, sketch / Test / compile, unsafe / 
Test / compile, launcher / Test / compile, kubernetes-integration-tests / Test 
/ compile, network-yarn / Test / compile, streaming / Test / compile, catalyst 
/ Test / compile, hive-thriftserver / Test / compile, kv [...]
    
    ### Why are the changes needed?
    Use the recommended sbt syntax to eliminate build warnings: _sbt 0.13 shell 
syntax is deprecated; use slash syntax instead_
    
    ### Does this PR introduce _any_ user-facing change?
    No.
    
    ### How was this patch tested?
    Pass GA.
    
    Closes #37326 from panbingkun/sbt_0.13_slash_syntax_instead.
    
    Authored-by: panbingkun <pbk1...@gmail.com>
    Signed-off-by: Hyukjin Kwon <gurwls...@apache.org>
---
 .github/workflows/build_and_test.yml | 2 +-
 dev/run-tests.py                     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 1902468e90c..5a9bf1faec5 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -707,7 +707,7 @@ jobs:
     - name: Build with SBT
       run: |
         ./dev/change-scala-version.sh 2.13
-        ./build/sbt -Pyarn -Pmesos -Pkubernetes -Pvolcano -Phive 
-Phive-thriftserver -Phadoop-cloud -Pkinesis-asl -Pdocker-integration-tests 
-Pkubernetes-integration-tests -Pspark-ganglia-lgpl -Pscala-2.13 compile 
test:compile
+        ./build/sbt -Pyarn -Pmesos -Pkubernetes -Pvolcano -Phive 
-Phive-thriftserver -Phadoop-cloud -Pkinesis-asl -Pdocker-integration-tests 
-Pkubernetes-integration-tests -Pspark-ganglia-lgpl -Pscala-2.13 compile 
Test/compile
 
   # Any TPC-DS related updates on this job need to be applied to tpcds-1g-gen 
job of benchmark.yml as well
   tpcds-1g:
diff --git a/dev/run-tests.py b/dev/run-tests.py
index 570ee4c8169..4cfb0639ed3 100755
--- a/dev/run-tests.py
+++ b/dev/run-tests.py
@@ -249,7 +249,7 @@ def build_spark_sbt(extra_profiles):
     # Enable all of the profiles for the build:
     build_profiles = extra_profiles + modules.root.build_profile_flags
     sbt_goals = [
-        "test:package",  # Build test jars as some tests depend on them
+        "Test/package",  # Build test jars as some tests depend on them
         "streaming-kinesis-asl-assembly/assembly",
     ]
     profiles_and_goals = build_profiles + sbt_goals


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

Reply via email to