Repository: atlas Updated Branches: refs/heads/master d5b438b5d -> 59c676961
ATLAS-2361: Package each Atlas hook in separate tar files Signed-off-by: Madhan Neethiraj <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/59c67696 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/59c67696 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/59c67696 Branch: refs/heads/master Commit: 59c676961bf8aeb31ca2704463ae966665800e6f Parents: d5b438b Author: rmani <[email protected]> Authored: Fri Jan 12 16:05:03 2018 -0800 Committer: Madhan Neethiraj <[email protected]> Committed: Fri Jan 12 16:31:22 2018 -0800 ---------------------------------------------------------------------- distro/pom.xml | 5 ++ .../assemblies/atlas-falcon-hook-package.xml | 41 ++++++++++++++ .../assemblies/atlas-hbase-hook-package.xml | 59 ++++++++++++++++++++ .../main/assemblies/atlas-hive-hook-package.xml | 59 ++++++++++++++++++++ .../assemblies/atlas-sqoop-hook-package.xml | 41 ++++++++++++++ .../assemblies/atlas-storm-hook-package.xml | 41 ++++++++++++++ 6 files changed, 246 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/59c67696/distro/pom.xml ---------------------------------------------------------------------- diff --git a/distro/pom.xml b/distro/pom.xml index 1b194a5..0103bef 100644 --- a/distro/pom.xml +++ b/distro/pom.xml @@ -105,6 +105,11 @@ atlas.graph.index.search.solr.wait-searcher=true <configuration> <skipAssembly>false</skipAssembly> <descriptors> + <descriptor>src/main/assemblies/atlas-hbase-hook-package.xml</descriptor> + <descriptor>src/main/assemblies/atlas-hive-hook-package.xml</descriptor> + <descriptor>src/main/assemblies/atlas-falcon-hook-package.xml</descriptor> + <descriptor>src/main/assemblies/atlas-sqoop-hook-package.xml</descriptor> + <descriptor>src/main/assemblies/atlas-storm-hook-package.xml</descriptor> <descriptor>src/main/assemblies/standalone-package.xml</descriptor> <descriptor>src/main/assemblies/src-package.xml</descriptor> </descriptors> http://git-wip-us.apache.org/repos/asf/atlas/blob/59c67696/distro/src/main/assemblies/atlas-falcon-hook-package.xml ---------------------------------------------------------------------- diff --git a/distro/src/main/assemblies/atlas-falcon-hook-package.xml b/distro/src/main/assemblies/atlas-falcon-hook-package.xml new file mode 100644 index 0000000..1c1ff00 --- /dev/null +++ b/distro/src/main/assemblies/atlas-falcon-hook-package.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> +<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> + <formats> + <format>tar.gz</format> + <format>dir</format> + </formats> + <id>falcon-hook</id> + <baseDirectory>apache-atlas-falcon-hook-${project.version}</baseDirectory> + <fileSets> + <!-- addons/falcon --> + <fileSet> + <directory>../addons/falcon-bridge/target/dependency/bridge</directory> + <outputDirectory>bridge</outputDirectory> + </fileSet> + + <fileSet> + <directory>../addons/falcon-bridge/target/dependency/hook</directory> + <outputDirectory>hook</outputDirectory> + </fileSet> + + </fileSets> +</assembly> http://git-wip-us.apache.org/repos/asf/atlas/blob/59c67696/distro/src/main/assemblies/atlas-hbase-hook-package.xml ---------------------------------------------------------------------- diff --git a/distro/src/main/assemblies/atlas-hbase-hook-package.xml b/distro/src/main/assemblies/atlas-hbase-hook-package.xml new file mode 100644 index 0000000..ba51b23 --- /dev/null +++ b/distro/src/main/assemblies/atlas-hbase-hook-package.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> +<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> + <formats> + <format>tar.gz</format> + <format>dir</format> + </formats> + <id>hbase-hook</id> + <baseDirectory>apache-atlas-hbase-hook-${project.version}</baseDirectory> + <fileSets> + <fileSet> + <directory>target/bin</directory> + <outputDirectory>hook-bin</outputDirectory> + <includes> + <include>import-hbase.sh</include> + </includes> + <fileMode>0755</fileMode> + <directoryMode>0755</directoryMode> + </fileSet> + + <!-- addons/hbase --> + <fileSet> + <directory>../addons/hbase-bridge/src/bin</directory> + <outputDirectory>hook-bin</outputDirectory> + <fileMode>0755</fileMode> + <directoryMode>0755</directoryMode> + </fileSet> + + <!-- addons/hbase --> + <fileSet> + <directory>../addons/hbase-bridge/target/dependency/bridge</directory> + <outputDirectory>bridge</outputDirectory> + </fileSet> + + <fileSet> + <directory>../addons/hbase-bridge/target/dependency/hook</directory> + <outputDirectory>hook</outputDirectory> + </fileSet> + + </fileSets> +</assembly> http://git-wip-us.apache.org/repos/asf/atlas/blob/59c67696/distro/src/main/assemblies/atlas-hive-hook-package.xml ---------------------------------------------------------------------- diff --git a/distro/src/main/assemblies/atlas-hive-hook-package.xml b/distro/src/main/assemblies/atlas-hive-hook-package.xml new file mode 100644 index 0000000..a0e7bc7 --- /dev/null +++ b/distro/src/main/assemblies/atlas-hive-hook-package.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> +<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> + <formats> + <format>tar.gz</format> + <format>dir</format> + </formats> + <id>hive-hook</id> + <baseDirectory>apache-atlas-hive-hook-${project.version}</baseDirectory> + <fileSets> + <fileSet> + <directory>target/bin</directory> + <outputDirectory>hook-bin</outputDirectory> + <includes> + <include>import-hive.sh</include> + </includes> + <fileMode>0755</fileMode> + <directoryMode>0755</directoryMode> + </fileSet> + + <!-- addons/hive --> + <fileSet> + <directory>../addons/hive-bridge/src/bin</directory> + <outputDirectory>hook-bin</outputDirectory> + <fileMode>0755</fileMode> + <directoryMode>0755</directoryMode> + </fileSet> + + <!-- addons/hive --> + <fileSet> + <directory>../addons/hive-bridge/target/dependency/bridge</directory> + <outputDirectory>bridge</outputDirectory> + </fileSet> + + <fileSet> + <directory>../addons/hive-bridge/target/dependency/hook</directory> + <outputDirectory>hook</outputDirectory> + </fileSet> + + </fileSets> +</assembly> http://git-wip-us.apache.org/repos/asf/atlas/blob/59c67696/distro/src/main/assemblies/atlas-sqoop-hook-package.xml ---------------------------------------------------------------------- diff --git a/distro/src/main/assemblies/atlas-sqoop-hook-package.xml b/distro/src/main/assemblies/atlas-sqoop-hook-package.xml new file mode 100644 index 0000000..0e91af9 --- /dev/null +++ b/distro/src/main/assemblies/atlas-sqoop-hook-package.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> +<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> + <formats> + <format>tar.gz</format> + <format>dir</format> + </formats> + <id>sqoop-hook</id> + <baseDirectory>apache-atlas-sqoop-hook-${project.version}</baseDirectory> + <fileSets> + <!-- addons/sqoop --> + <fileSet> + <directory>../addons/sqoop-bridge/target/dependency/bridge</directory> + <outputDirectory>bridge</outputDirectory> + </fileSet> + + <fileSet> + <directory>../addons/sqoop-bridge/target/dependency/hook</directory> + <outputDirectory>hook</outputDirectory> + </fileSet> + + </fileSets> +</assembly> http://git-wip-us.apache.org/repos/asf/atlas/blob/59c67696/distro/src/main/assemblies/atlas-storm-hook-package.xml ---------------------------------------------------------------------- diff --git a/distro/src/main/assemblies/atlas-storm-hook-package.xml b/distro/src/main/assemblies/atlas-storm-hook-package.xml new file mode 100644 index 0000000..92bc689 --- /dev/null +++ b/distro/src/main/assemblies/atlas-storm-hook-package.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> +<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> + <formats> + <format>tar.gz</format> + <format>dir</format> + </formats> + <id>storm-hook</id> + <baseDirectory>apache-atlas-storm-hook-${project.version}</baseDirectory> + <fileSets> + <!-- addons/storm --> + <fileSet> + <directory>../addons/storm-bridge/target/dependency/bridge</directory> + <outputDirectory>bridge</outputDirectory> + </fileSet> + + <fileSet> + <directory>../addons/storm-bridge/target/dependency/hook</directory> + <outputDirectory>hook</outputDirectory> + </fileSet> + + </fileSets> +</assembly>
