fixbug: getSparkJarPath
This commit is contained in:
parent
810cca2be2
commit
036eaa058e
|
@ -16,8 +16,8 @@ object PropertyUtil {
|
||||||
val userDir = System.getProperty("user.dir")
|
val userDir = System.getProperty("user.dir")
|
||||||
path = userDir + "/config.properties"
|
path = userDir + "/config.properties"
|
||||||
classPath = userDir + "/classpath/"
|
classPath = userDir + "/classpath/"
|
||||||
scalaPath = userDir + "/scala"
|
scalaPath = userDir + "/scala/"
|
||||||
sparkJarPath = userDir + "/sparkJar"
|
sparkJarPath = userDir + "/sparkJar/"
|
||||||
prop.load(new FileInputStream(path))
|
prop.load(new FileInputStream(path))
|
||||||
} catch{
|
} catch{
|
||||||
case ex: Exception => ex.printStackTrace()
|
case ex: Exception => ex.printStackTrace()
|
||||||
|
|
Loading…
Reference in New Issue