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
63779893
Commit
63779893
authored
Jun 18, 2019
by
Vishal Suvagia
Committed by
Sarath Subramanian
Jun 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3277 : Add default atlas conf path in the import-* scripts
parent
59648d28
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
1 deletion
+18
-1
import-hbase.sh
addons/hbase-bridge/src/bin/import-hbase.sh
+5
-0
import-hive.sh
addons/hive-bridge/src/bin/import-hive.sh
+5
-0
import-impala.sh
addons/impala-bridge/src/main/resources/import-impala.sh
+5
-0
import-kafka.sh
addons/kafka-bridge/src/bin/import-kafka.sh
+3
-1
No files found.
addons/hbase-bridge/src/bin/import-hbase.sh
View file @
63779893
...
...
@@ -55,6 +55,11 @@ for i in "${BASEDIR}/hook/hbase/atlas-hbase-plugin-impl/"*.jar; do
ATLASCPPATH
=
"
${
ATLASCPPATH
}
:
$i
"
done
if
[
-z
"
${
ATLAS_CONF_DIR
}
"
]
&&
[
-e
/etc/atlas/conf
]
;
then
ATLAS_CONF_DIR
=
/etc/atlas/conf
fi
ATLASCPPATH
=
${
ATLASCPPATH
}
:
${
ATLAS_CONF_DIR
}
# log dir for applications
ATLAS_LOG_DIR
=
"
${
ATLAS_LOG_DIR
:-
$BASEDIR
/logs
}
"
export
ATLAS_LOG_DIR
...
...
addons/hive-bridge/src/bin/import-hive.sh
View file @
63779893
...
...
@@ -50,6 +50,11 @@ for i in "${BASEDIR}/hook/hive/atlas-hive-plugin-impl/"*.jar; do
ATLASCPPATH
=
"
${
ATLASCPPATH
}
:
$i
"
done
if
[
-z
"
${
ATLAS_CONF_DIR
}
"
]
&&
[
-e
/etc/atlas/conf
]
;
then
ATLAS_CONF_DIR
=
/etc/atlas/conf
fi
ATLASCPPATH
=
${
ATLASCPPATH
}
:
${
ATLAS_CONF_DIR
}
# log dir for applications
ATLAS_LOG_DIR
=
"
${
ATLAS_LOG_DIR
:-
$BASEDIR
/logs
}
"
export
ATLAS_LOG_DIR
...
...
addons/impala-bridge/src/main/resources/import-impala.sh
View file @
63779893
...
...
@@ -81,6 +81,11 @@ for i in "${BASEDIR}/"*.jar; do
ATLASCPPATH
=
"
${
ATLASCPPATH
}
:
$i
"
done
if
[
-z
"
${
ATLAS_CONF_DIR
}
"
]
&&
[
-e
/etc/atlas/conf
]
;
then
ATLAS_CONF_DIR
=
/etc/atlas/conf
fi
ATLASCPPATH
=
${
ATLASCPPATH
}
:
${
ATLAS_CONF_DIR
}
echo
"Logging:
${
ATLAS_LOG_DIR
}
/
${
ATLAS_LOG_FILE
}
"
echo
"Log config:
${
LOG_CONFIG
}
"
...
...
addons/kafka-bridge/src/bin/import-kafka.sh
View file @
63779893
...
...
@@ -57,7 +57,9 @@ for i in "${BASEDIR}/hook/kafka/atlas-kafka-plugin-impl/"*.jar; do
ATLASCPPATH
=
"
${
ATLASCPPATH
}
:
$i
"
done
ATLAS_CONF_DIR
=
/etc/atlas/conf
if
[
-z
"
${
ATLAS_CONF_DIR
}
"
]
&&
[
-e
/etc/atlas/conf
]
;
then
ATLAS_CONF_DIR
=
/etc/atlas/conf
fi
ATLASCPPATH
=
${
ATLASCPPATH
}
:
${
ATLAS_CONF_DIR
}
# log dir for applications
...
...
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