Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bi-report
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data
bi-report
Commits
e3836d6d
Commit
e3836d6d
authored
May 06, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
f1e776f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
workspace.xml
.idea/workspace.xml
+1
-1
workspace.xml
lib/java/bi-report-service/.idea/workspace.xml
+1
-1
HivesqlServiceImpl.java
.../data/gateway/server/service/impl/HivesqlServiceImpl.java
+1
-0
No files found.
.idea/workspace.xml
View file @
e3836d6d
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
<workItem
from=
"1588154352798"
duration=
"195000"
/>
<workItem
from=
"1588154352798"
duration=
"195000"
/>
<workItem
from=
"1588220085338"
duration=
"7993000"
/>
<workItem
from=
"1588220085338"
duration=
"7993000"
/>
<workItem
from=
"1588248522289"
duration=
"2820000"
/>
<workItem
from=
"1588248522289"
duration=
"2820000"
/>
<workItem
from=
"1588344251422"
duration=
"20
092
000"
/>
<workItem
from=
"1588344251422"
duration=
"20
378
000"
/>
</task>
</task>
<task
id=
"LOCAL-00001"
summary=
"add init codes."
>
<task
id=
"LOCAL-00001"
summary=
"add init codes."
>
<created>
1587723565207
</created>
<created>
1587723565207
</created>
...
...
lib/java/bi-report-service/.idea/workspace.xml
View file @
e3836d6d
...
@@ -217,7 +217,7 @@
...
@@ -217,7 +217,7 @@
<workItem
from=
"1588148891822"
duration=
"2318000"
/>
<workItem
from=
"1588148891822"
duration=
"2318000"
/>
<workItem
from=
"1588152718016"
duration=
"1463000"
/>
<workItem
from=
"1588152718016"
duration=
"1463000"
/>
<workItem
from=
"1588154601852"
duration=
"28557000"
/>
<workItem
from=
"1588154601852"
duration=
"28557000"
/>
<workItem
from=
"1588344252163"
duration=
"15
018
000"
/>
<workItem
from=
"1588344252163"
duration=
"15
282
000"
/>
</task>
</task>
<servers
/>
<servers
/>
</component>
</component>
...
...
lib/java/bi-report-service/service-server/src/main/java/com/gmei/data/gateway/server/service/impl/HivesqlServiceImpl.java
View file @
e3836d6d
...
@@ -65,6 +65,7 @@ public class HivesqlServiceImpl implements HivesqlService {
...
@@ -65,6 +65,7 @@ public class HivesqlServiceImpl implements HivesqlService {
conn
=
DriverManager
.
getConnection
(
hiveSqlJdbcUrl
,
"bi"
,
""
);
conn
=
DriverManager
.
getConnection
(
hiveSqlJdbcUrl
,
"bi"
,
""
);
Statement
statement
=
conn
.
createStatement
();
Statement
statement
=
conn
.
createStatement
();
statement
.
executeUpdate
(
"set role admin"
);
statement
.
executeUpdate
(
"set role admin"
);
statement
.
executeUpdate
(
"set mapreduce.job.queuename=data"
);
int
updateCount
=
statement
.
executeUpdate
(
hql
);
int
updateCount
=
statement
.
executeUpdate
(
hql
);
if
(
updateCount
>
0
){
if
(
updateCount
>
0
){
logger
.
info
(
"*** Execute success, hql: {}"
,
hql
);
logger
.
info
(
"*** Execute success, hql: {}"
,
hql
);
...
...
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