Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
96afd439
Commit
96afd439
authored
6 years ago
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change spark context
parent
642514a4
master
gyz
mr/beta/bug22
offic
rtt
test
updatedb
wzw
zhao
zhao22
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
GmeiConfig.scala
eda/node2vec/src/main/scala/com/gmei/GmeiConfig.scala
+0
-1
Main.scala
eda/node2vec/src/main/scala/com/gmei/Main.scala
+1
-1
No files found.
eda/node2vec/src/main/scala/com/gmei/GmeiConfig.scala
View file @
96afd439
...
...
@@ -78,7 +78,6 @@ object GmeiConfig extends Serializable {
def
writeToJDBCTable
(
df
:
DataFrame
,
table
:
String
,
saveMode
:
SaveMode
)
:
Unit
=
{
val
jdbcuri
=
this
.
config
.
getString
(
"tidb.jdbcuri"
)
println
(
jdbcuri
,
table
)
writeToJDBCTable
(
jdbcuri
,
df
,
table
,
saveMode
)
}
...
...
This diff is collapsed.
Click to expand it.
eda/node2vec/src/main/scala/com/gmei/Main.scala
View file @
96afd439
...
...
@@ -232,7 +232,7 @@ object Main {
println
(
"done3"
)
context
.
stop
()
sc
.
stop
()
}
}
getOrElse
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment