Skip to content

Commit

Permalink
use localhost instead of 127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
turboFei committed Apr 9, 2021
1 parent c104ce3 commit 1b10253
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- '-Pspark-3.1 -Dhadoop.binary.version=3.2'
- '-Pspark-3.2-snapshot -pl :kyuubi-spark-sql-engine,:kyuubi-common,:kyuubi-ha,:kyuubi-zookeeper -Dmaven.plugin.scalatest.exclude.tags=org.apache.kyuubi.tags.DataLakeTest'
env:
SPARK_LOCAL_IP: 127.0.0.1
SPARK_LOCAL_IP: localhost
steps:
- uses: actions/checkout@v2
- name: Setup JDK 1.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ trait WithKyuubiServer extends KyuubiFunSuite {

// TODO: KYUUBI-504: forbid setting FRONTEND_BIND_HOST by connection string in engine side
protected def getJdbcUrl: String =
s"jdbc:hive2://${server.connectionUrl}/;#${KyuubiConf.FRONTEND_BIND_HOST.key}=127.0.0.1"
s"jdbc:hive2://${server.connectionUrl}/;#${KyuubiConf.FRONTEND_BIND_HOST.key}=localhost"
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@
<java.io.tmpdir>${project.build.directory}/tmp</java.io.tmpdir>
<spark.driver.memory>2g</spark.driver.memory>
<kyuubi.metrics.json.report.location>${project.build.directory}/metrics</kyuubi.metrics.json.report.location>
<kyuubi.frontend.bind.host>127.0.0.1</kyuubi.frontend.bind.host>
<kyuubi.frontend.bind.host>localhost</kyuubi.frontend.bind.host>
</systemProperties>
<tagsToExclude>${maven.plugin.scalatest.exclude.tags}</tagsToExclude>
</configuration>
Expand Down

0 comments on commit 1b10253

Please sign in to comment.