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
5 years ago
by
Vishal Suvagia
Committed by
Sarath Subramanian
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3277 : Add default atlas conf path in the import-* scripts
parent
59648d28
master
No related merge requests found
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
...
@@ -55,6 +55,11 @@ for i in "${BASEDIR}/hook/hbase/atlas-hbase-plugin-impl/"*.jar; do
ATLASCPPATH
=
"
${
ATLASCPPATH
}
:
$i
"
ATLASCPPATH
=
"
${
ATLASCPPATH
}
:
$i
"
done
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
# log dir for applications
ATLAS_LOG_DIR
=
"
${
ATLAS_LOG_DIR
:-
$BASEDIR
/logs
}
"
ATLAS_LOG_DIR
=
"
${
ATLAS_LOG_DIR
:-
$BASEDIR
/logs
}
"
export
ATLAS_LOG_DIR
export
ATLAS_LOG_DIR
...
...
This diff is collapsed.
Click to expand it.
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
...
@@ -50,6 +50,11 @@ for i in "${BASEDIR}/hook/hive/atlas-hive-plugin-impl/"*.jar; do
ATLASCPPATH
=
"
${
ATLASCPPATH
}
:
$i
"
ATLASCPPATH
=
"
${
ATLASCPPATH
}
:
$i
"
done
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
# log dir for applications
ATLAS_LOG_DIR
=
"
${
ATLAS_LOG_DIR
:-
$BASEDIR
/logs
}
"
ATLAS_LOG_DIR
=
"
${
ATLAS_LOG_DIR
:-
$BASEDIR
/logs
}
"
export
ATLAS_LOG_DIR
export
ATLAS_LOG_DIR
...
...
This diff is collapsed.
Click to expand it.
addons/impala-bridge/src/main/resources/import-impala.sh
View file @
63779893
...
@@ -81,6 +81,11 @@ for i in "${BASEDIR}/"*.jar; do
...
@@ -81,6 +81,11 @@ for i in "${BASEDIR}/"*.jar; do
ATLASCPPATH
=
"
${
ATLASCPPATH
}
:
$i
"
ATLASCPPATH
=
"
${
ATLASCPPATH
}
:
$i
"
done
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
"Logging:
${
ATLAS_LOG_DIR
}
/
${
ATLAS_LOG_FILE
}
"
echo
"Log config:
${
LOG_CONFIG
}
"
echo
"Log config:
${
LOG_CONFIG
}
"
...
...
This diff is collapsed.
Click to expand it.
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
...
@@ -57,7 +57,9 @@ for i in "${BASEDIR}/hook/kafka/atlas-kafka-plugin-impl/"*.jar; do
ATLASCPPATH
=
"
${
ATLASCPPATH
}
:
$i
"
ATLASCPPATH
=
"
${
ATLASCPPATH
}
:
$i
"
done
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
}
ATLASCPPATH
=
${
ATLASCPPATH
}
:
${
ATLAS_CONF_DIR
}
# log dir for applications
# log dir for applications
...
...
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