Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
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
dataplatform
atlas
Commits
1a13eea3
Commit
1a13eea3
authored
Apr 28, 2015
by
Aaron Niskode-Dossett
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #64 from hortonworks/issue62
ISSUE 62 -- small hive bridge changes
parents
abf35d62
f1eb7ced
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
19 deletions
+4
-19
InstallationSteps.txt
InstallationSteps.txt
+1
-1
pom.xml
addons/hive-bridge/pom.xml
+0
-15
import-hive.sh
addons/hive-bridge/src/bin/import-hive.sh
+2
-2
standalone-package.xml
src/main/assemblies/standalone-package.xml
+1
-1
No files found.
InstallationSteps.txt
View file @
1a13eea3
...
...
@@ -94,7 +94,7 @@ c. Using DGI
curl -v http://localhost:21000/api/metadata/entities/list/hive_table
{"requestId":"788558007@qtp-44808654-5","list":["cb9b5513-c672-42cb-8477-b8f3e537a162","ec985719-a794-4c98-b98f-0509bd23aac0","48998f81-f1d3-45a2-989a-223af5c1ed6e","a54b386e-c759-4651-8779-a099294244c4"]}
curl -v http://localhost:21000/api/metadata/entities/list/hive_d
atabase
curl -v http://localhost:21000/api/metadata/entities/list/hive_d
b
* Search for entities (instances) in the repository
curl -v http://localhost:21000/api/metadata/discovery/search/dsl?query="from hive_table"
...
...
addons/hive-bridge/pom.xml
View file @
1a13eea3
...
...
@@ -99,21 +99,6 @@
<groupId>
org.apache.hadoop
</groupId>
<artifactId>
hadoop-client
</artifactId>
<version>
${hadoop.version}
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.hadoop
</groupId>
<artifactId>
hadoop-client
</artifactId>
<version>
${hadoop.version}
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.hadoop
</groupId>
<artifactId>
hadoop-client
</artifactId>
<version>
${hadoop.version}
</version>
<scope>
test
</scope>
</dependency>
<dependency>
...
...
addons/hive-bridge/src/bin/import-hive.sh
View file @
1a13eea3
...
...
@@ -55,7 +55,7 @@ fi
METADATACPPATH
=
"
$METADATA_CONF
"
for
i
in
"
${
BASEDIR
}
/
lib-bridg
e/"
*
.jar
;
do
for
i
in
"
${
BASEDIR
}
/
bridge/hiv
e/"
*
.jar
;
do
METADATACPPATH
=
"
${
METADATACPPATH
}
:
$i
"
done
...
...
@@ -74,7 +74,7 @@ if [ ! -z "$HIVE_CONF_DIR" ]; then
HIVE_CP
=
$HIVE_CONF_DIR
elif
[
!
-z
"
$HIVE_HOME
"
]
;
then
HIVE_CP
=
"
$HIVE_HOME
/conf"
elif
[
-e
/
usr/hdp/current/hive-client
/conf
]
;
then
elif
[
-e
/
etc/hive
/conf
]
;
then
HIVE_CP
=
"/etc/hive/conf"
else
echo
"Could not find a valid HIVE configuration"
...
...
src/main/assemblies/standalone-package.xml
View file @
1a13eea3
...
...
@@ -50,7 +50,7 @@
</fileSet>
<fileSet>
<directory>
addons/hive-bridge/src/
main/
bin
</directory>
<directory>
addons/hive-bridge/src/bin
</directory>
<outputDirectory>
bin
</outputDirectory>
<fileMode>
0755
</fileMode>
<directoryMode>
0755
</directoryMode>
...
...
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