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
064892be
Commit
064892be
authored
Nov 16, 2018
by
张彦钊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改master
parent
0fc1eb15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
feature_engineering.py
tensnsorflow/feature_engineering.py
+1
-1
No files found.
tensnsorflow/feature_engineering.py
View file @
064892be
...
@@ -77,7 +77,7 @@ def test():
...
@@ -77,7 +77,7 @@ def test():
# click = click.map(lambda x: (x[0], x[1], x[2], 1))
# click = click.map(lambda x: (x[0], x[1], x[2], 1))
def
hive
():
def
hive
():
conf
=
SparkConf
()
.
set
Master
(
"spark://10.30.181.88:7077"
)
.
set
AppName
(
"My app"
)
conf
=
SparkConf
()
.
setAppName
(
"My app"
)
sc
=
SparkContext
(
conf
=
conf
)
sc
=
SparkContext
(
conf
=
conf
)
sc
.
setLogLevel
(
"WARN"
)
sc
.
setLogLevel
(
"WARN"
)
sqlContext
=
HiveContext
(
sc
)
sqlContext
=
HiveContext
(
sc
)
...
...
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