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
c1e20f8d
Commit
c1e20f8d
authored
Jan 27, 2015
by
Venkatesh Seetharam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds Apache License Headers, enables rat-check, find-bugs and checkstyle…
Adds Apache License Headers, enables rat-check, find-bugs and checkstyle plugins. Contributed by Venkatesh Seetharam
parent
de243153
Hide whitespace changes
Inline
Side-by-side
Showing
91 changed files
with
1097 additions
and
104 deletions
+1097
-104
AEntityBean.java
...n/java/org/apache/hadoop/metadata/bridge/AEntityBean.java
+18
-0
pom.xml
docs/pom.xml
+1
-0
site.xml
docs/src/site/site.xml
+1
-0
pom.xml
hivetypes/pom.xml
+18
-0
hive-site.xml
hivetypes/src/main/resources/hive-site.xml
+18
-0
log4j.properties
hivetypes/src/main/resources/log4j.properties
+1
-1
graph.properties
hivetypes/src/test/resources/graph.properties
+18
-0
pom.xml
metadata-bridge-parent/metadata-bridge-core/pom.xml
+18
-0
ABridge.java
.../main/java/org/apache/hadoop/metadata/bridge/ABridge.java
+18
-0
BridgeException.java
...va/org/apache/hadoop/metadata/bridge/BridgeException.java
+18
-0
BridgeManager.java
...java/org/apache/hadoop/metadata/bridge/BridgeManager.java
+18
-0
IBridge.java
.../main/java/org/apache/hadoop/metadata/bridge/IBridge.java
+18
-0
HiveLineageBridge.java
...hadoop/metadata/bridge/hivelineage/HiveLineageBridge.java
+18
-0
HiveLineage.java
.../hadoop/metadata/bridge/hivelineage/hook/HiveLineage.java
+18
-0
HiveMetaImporter.java
...adoop/metadata/bridge/hivestructure/HiveMetaImporter.java
+18
-0
HiveStructureBridge.java
...op/metadata/bridge/hivestructure/HiveStructureBridge.java
+18
-0
HiveLineageResource.java
...he/hadoop/metadata/web/resources/HiveLineageResource.java
+18
-0
bridge-manager.properties
...-bridge-core/src/main/resources/bridge-manager.properties
+19
-0
BridgeManagerTest.java
.../org/apache/hadoop/metadata/bridge/BridgeManagerTest.java
+18
-0
TestGenericBridges.java
...org/apache/hadoop/metadata/bridge/TestGenericBridges.java
+18
-0
TestHiveLineageBridge.java
...op/metadata/bridge/hivelineage/TestHiveLineageBridge.java
+18
-0
bridge-manager.properties
...-bridge-core/src/test/resources/bridge-manager.properties
+19
-0
graph.properties
.../metadata-bridge-core/src/test/resources/graph.properties
+18
-0
test-bridge-manager.properties
...ge-core/src/test/resources/test-bridge-manager.properties
+19
-0
pom.xml
metadata-bridge-parent/metadata-bridge-hive/pom.xml
+18
-0
HiveLineage.java
.../hadoop/metadata/bridge/hivelineage/hook/HiveLineage.java
+18
-0
HiveLineageInfo.java
...oop/metadata/bridge/hivelineage/hook/HiveLineageInfo.java
+1
-2
Hook.java
.../apache/hadoop/metadata/bridge/hivelineage/hook/Hook.java
+18
-0
HiveLineageInfoTest.java
...metadata/bridge/hivelineage/hook/HiveLineageInfoTest.java
+18
-0
pom.xml
metadata-bridge-parent/metadata-bridge/pom.xml
+18
-0
pom.xml
metadata-bridge-parent/pom.xml
+18
-0
pom.xml
pom.xml
+9
-14
pom.xml
repository/pom.xml
+17
-11
GraphBackedDiscoveryService.java
...adoop/metadata/discovery/GraphBackedDiscoveryService.java
+18
-0
GraphProvider.java
...pache/hadoop/metadata/repository/graph/GraphProvider.java
+18
-0
GraphServiceConfigurator.java
...p/metadata/repository/graph/GraphServiceConfigurator.java
+18
-0
PropertyBasedConfigurator.java
.../metadata/repository/graph/PropertyBasedConfigurator.java
+18
-0
TitanGraphProvider.java
.../hadoop/metadata/repository/graph/TitanGraphProvider.java
+18
-0
RepositoryServiceLoadingTest.java
.../apache/hadoop/metadata/RepositoryServiceLoadingTest.java
+18
-0
TitanGraphServiceTest.java
...pache/hadoop/metadata/services/TitanGraphServiceTest.java
+18
-0
graph.properties
repository/src/test/resources/graph.properties
+18
-0
graph.properties
src/conf/graph.properties
+18
-0
log4j.xml
src/conf/log4j.xml
+11
-2
src-package.xml
src/main/assemblies/src-package.xml
+16
-16
standalone-package.xml
src/main/assemblies/standalone-package.xml
+16
-16
.gitignore
typesystem/.gitignore
+16
-0
notes.MD
typesystem/doc/notes.MD
+16
-0
MetadataException.java
...in/java/org/apache/hadoop/metadata/MetadataException.java
+1
-0
IRepository.java
.../java/org/apache/hadoop/metadata/storage/IRepository.java
+1
-0
RepositoryException.java
...g/apache/hadoop/metadata/storage/RepositoryException.java
+18
-0
StructInstance.java
...va/org/apache/hadoop/metadata/storage/StructInstance.java
+1
-0
FieldMapping.java
...n/java/org/apache/hadoop/metadata/types/FieldMapping.java
+1
-0
IConstructableType.java
.../org/apache/hadoop/metadata/types/IConstructableType.java
+18
-0
IDataType.java
...main/java/org/apache/hadoop/metadata/types/IDataType.java
+1
-0
Multiplicity.java
...n/java/org/apache/hadoop/metadata/types/Multiplicity.java
+1
-0
ObjectGraphWalker.java
...a/org/apache/hadoop/metadata/types/ObjectGraphWalker.java
+18
-0
StructType.java
...ain/java/org/apache/hadoop/metadata/types/StructType.java
+1
-0
TypeUtils.java
...main/java/org/apache/hadoop/metadata/types/TypeUtils.java
+1
-0
ValueConversionException.java
...pache/hadoop/metadata/types/ValueConversionException.java
+1
-0
package-info.java
...n/java/org/apache/hadoop/metadata/types/package-info.java
+1
-1
application.conf
typesystem/src/main/resources/application.conf
+16
-0
TypesDef.scala
.../src/main/scala/org/apache/hadoop/metadata/TypesDef.scala
+2
-2
Console.scala
...c/main/scala/org/apache/hadoop/metadata/cli/Console.scala
+1
-1
DynamicTypedStruct.scala
...a/org/apache/hadoop/metadata/dsl/DynamicTypedStruct.scala
+1
-1
package.scala
...c/main/scala/org/apache/hadoop/metadata/dsl/package.scala
+1
-1
Serialization.scala
...scala/org/apache/hadoop/metadata/json/Serialization.scala
+1
-1
TypesSerialization.scala
.../org/apache/hadoop/metadata/json/TypesSerialization.scala
+2
-2
Main.scala
.../org/apache/hadoop/metadata/tools/simpleserver/Main.scala
+1
-1
MetadataActor.scala
...he/hadoop/metadata/tools/simpleserver/MetadataActor.scala
+1
-1
RestInterface.scala
...he/hadoop/metadata/tools/simpleserver/RestInterface.scala
+1
-1
ThriftParser.scala
...rg/apache/hadoop/metadata/tools/thrift/ThriftParser.scala
+1
-1
ThriftTypesGen.scala
.../apache/hadoop/metadata/tools/thrift/ThriftTypesGen.scala
+1
-1
ClassTest.java
...m/src/test/java/org/apache/hadoop/metadata/ClassTest.java
+18
-0
EnumTest.java
...em/src/test/java/org/apache/hadoop/metadata/EnumTest.java
+18
-0
StorageTest.java
...src/test/java/org/apache/hadoop/metadata/StorageTest.java
+18
-0
TraitTest.java
...m/src/test/java/org/apache/hadoop/metadata/TraitTest.java
+18
-0
VenkateshTest.java
...c/test/java/org/apache/hadoop/metadata/VenkateshTest.java
+18
-0
DSLTest.scala
...c/test/scala/org/apache/hadoop/metadata/dsl/DSLTest.scala
+1
-1
HiveMockMetadataService.scala
...apache/hadoop/metadata/hive/HiveMockMetadataService.scala
+1
-1
SerializationTest.scala
...a/org/apache/hadoop/metadata/json/SerializationTest.scala
+1
-1
TypesSerializationTest.scala
.../apache/hadoop/metadata/json/TypesSerializationTest.scala
+2
-2
ThriftLexerTest.scala
...apache/hadoop/metadata/tools/thrift/ThriftLexerTest.scala
+18
-0
ThriftParserTest.scala
...pache/hadoop/metadata/tools/thrift/ThriftParserTest.scala
+18
-0
pom.xml
webapp/pom.xml
+17
-11
GuiceServletConfig.java
...che/hadoop/metadata/web/listeners/GuiceServletConfig.java
+18
-0
graph.properties
webapp/src/main/resources/graph.properties
+18
-0
log4j.xml
webapp/src/main/resources/log4j.xml
+10
-1
web.xml
webapp/src/main/webapp/WEB-INF/web.xml
+17
-11
index.html
webapp/src/main/webapp/index.html
+1
-0
BaseResourceIT.java
.../apache/hadoop/metadata/web/resources/BaseResourceIT.java
+18
-0
RexsterGraphJerseyResourceIT.java
.../metadata/web/resources/RexsterGraphJerseyResourceIT.java
+18
-0
No files found.
common/src/main/java/org/apache/hadoop/metadata/bridge/AEntityBean.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
public
abstract
class
AEntityBean
{
public
abstract
class
AEntityBean
{
...
...
docs/pom.xml
View file @
c1e20f8d
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ or more contributor license agreements. See the NOTICE file
...
...
docs/src/site/site.xml
View file @
c1e20f8d
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ or more contributor license agreements. See the NOTICE file
...
...
hivetypes/pom.xml
View file @
c1e20f8d
<?xml version="1.0" encoding="UTF-8"?>
<?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.
-->
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
...
...
hivetypes/src/main/resources/hive-site.xml
View file @
c1e20f8d
<!--
~ 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.
-->
<!--Mon Apr 21 07:04:34 2014-->
<!--Mon Apr 21 07:04:34 2014-->
<configuration>
<configuration>
...
...
hivetypes/src/main/resources/log4j.properties
View file @
c1e20f8d
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
# "License"); you may not use this file except in compliance
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
# with the License. You may obtain a copy of the License at
#
#
#
http://www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# distributed under the License is distributed on an "AS IS" BASIS,
...
...
hivetypes/src/test/resources/graph.properties
View file @
c1e20f8d
#
# 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.
#
storage.backend
=
inmemory
storage.backend
=
inmemory
# Graph Search Index
# Graph Search Index
...
...
metadata-bridge-parent/metadata-bridge-core/pom.xml
View file @
c1e20f8d
<!--
~ 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.
-->
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/ABridge.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
import
java.lang.reflect.Field
;
import
java.lang.reflect.Field
;
...
...
metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/BridgeException.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
import
org.apache.hadoop.hive.metastore.api.MetaException
;
import
org.apache.hadoop.hive.metastore.api.MetaException
;
...
...
metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/BridgeManager.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
//TODO - Create Index Annotation Framework for BeanConverter
//TODO - Create Index Annotation Framework for BeanConverter
...
...
metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/IBridge.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
public
interface
IBridge
{
public
interface
IBridge
{
...
...
metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/HiveLineageBridge.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
;
import
javax.inject.Inject
;
import
javax.inject.Inject
;
...
...
metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineage.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
.
hook
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
.
hook
;
...
...
metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivestructure/HiveMetaImporter.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivestructure
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivestructure
;
import
org.apache.hadoop.hive.conf.HiveConf
;
import
org.apache.hadoop.hive.conf.HiveConf
;
...
...
metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivestructure/HiveStructureBridge.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivestructure
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivestructure
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
...
...
metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/web/resources/HiveLineageResource.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
web
.
resources
;
package
org
.
apache
.
hadoop
.
metadata
.
web
.
resources
;
import
com.google.gson.Gson
;
import
com.google.gson.Gson
;
...
...
metadata-bridge-parent/metadata-bridge-core/src/main/resources/bridge-manager.properties
View file @
c1e20f8d
#
# 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.
#
#BridgeManager.activebridges denotes which bridge defintions to load from the classpath (Comma seperated list of fully qualified class paths)
#BridgeManager.activebridges denotes which bridge defintions to load from the classpath (Comma seperated list of fully qualified class paths)
#
#
BridgeManager.activeBridges
=
org.apache.hadoop.metadata.bridge.hivelineage.HiveLineageBridge
BridgeManager.activeBridges
=
org.apache.hadoop.metadata.bridge.hivelineage.HiveLineageBridge
\ No newline at end of file
metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/BridgeManagerTest.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
import
javax.inject.Inject
;
import
javax.inject.Inject
;
...
...
metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/TestGenericBridges.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
;
public
class
TestGenericBridges
{
public
class
TestGenericBridges
{
...
...
metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/hivelineage/TestHiveLineageBridge.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
;
import
java.io.FileInputStream
;
import
java.io.FileInputStream
;
...
...
metadata-bridge-parent/metadata-bridge-core/src/test/resources/bridge-manager.properties
View file @
c1e20f8d
#
# 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.
#
#BridgeManager.activebridges denotes which bridge defintions to load from the classpath (Comma seperated list of fully qualified class paths)
#BridgeManager.activebridges denotes which bridge defintions to load from the classpath (Comma seperated list of fully qualified class paths)
#
#
BridgeManager.activeBridges
=
org.apache.hadoop.metadata.bridge.hivelineage.HiveLineageBridge
BridgeManager.activeBridges
=
org.apache.hadoop.metadata.bridge.hivelineage.HiveLineageBridge
\ No newline at end of file
metadata-bridge-parent/metadata-bridge-core/src/test/resources/graph.properties
View file @
c1e20f8d
#
# 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.
#
storage.backend
=
inmemory
storage.backend
=
inmemory
# Graph Search Index
# Graph Search Index
...
...
metadata-bridge-parent/metadata-bridge-core/src/test/resources/test-bridge-manager.properties
View file @
c1e20f8d
#
# 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.
#
#BridgeManager.activebridges denotes which bridge defintions to load from the classpath (Comma seperated list of fully qualified class paths)
#BridgeManager.activebridges denotes which bridge defintions to load from the classpath (Comma seperated list of fully qualified class paths)
#
#
BridgeManager.activeBridges
=
org.apache.hadoop.metadata.bridge.HiveLineage
BridgeManager.activeBridges
=
org.apache.hadoop.metadata.bridge.HiveLineage
\ No newline at end of file
metadata-bridge-parent/metadata-bridge-hive/pom.xml
View file @
c1e20f8d
<!--
~ 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.
-->
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<parent>
...
...
metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineage.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
.
hook
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
.
hook
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
...
metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineageInfo.java
View file @
c1e20f8d
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
.
hook
;
/**
/**
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
...
@@ -18,6 +16,7 @@ package org.apache.hadoop.metadata.bridge.hivelineage.hook;
...
@@ -18,6 +16,7 @@ package org.apache.hadoop.metadata.bridge.hivelineage.hook;
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
.
hook
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
...
...
metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/Hook.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
.
hook
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
.
hook
;
...
...
metadata-bridge-parent/metadata-bridge-hive/src/test/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineageInfoTest.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
.
hook
;
package
org
.
apache
.
hadoop
.
metadata
.
bridge
.
hivelineage
.
hook
;
import
org.apache.hadoop.hive.ql.parse.ParseException
;
import
org.apache.hadoop.hive.ql.parse.ParseException
;
...
...
metadata-bridge-parent/metadata-bridge/pom.xml
View file @
c1e20f8d
<!--
~ 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.
-->
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<parent>
...
...
metadata-bridge-parent/pom.xml
View file @
c1e20f8d
<!--
~ 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.
-->
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<parent>
...
...
pom.xml
View file @
c1e20f8d
...
@@ -218,9 +218,12 @@
...
@@ -218,9 +218,12 @@
<exclude>
*.txt
</exclude>
<exclude>
*.txt
</exclude>
<exclude>
**/*.txt
</exclude>
<exclude>
**/*.txt
</exclude>
<exclude>
.git/**
</exclude>
<exclude>
.git/**
</exclude>
<exclude>
.gitignore
</exclude>
<exclude>
**/.idea/**
</exclude>
<exclude>
**/.idea/**
</exclude>
<exclude>
**/*.twiki
</exclude>
<exclude>
**/*.twiki
</exclude>
<exclude>
**/*.iml
</exclude>
<exclude>
**/*.iml
</exclude>
<exclude>
**/*.json
</exclude>
<exclude>
**/*.uml
</exclude>
<exclude>
**/target/**
</exclude>
<exclude>
**/target/**
</exclude>
<exclude>
**/activemq-data/**
</exclude>
<exclude>
**/activemq-data/**
</exclude>
<exclude>
**/build/**
</exclude>
<exclude>
**/build/**
</exclude>
...
@@ -250,15 +253,6 @@
...
@@ -250,15 +253,6 @@
<plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-checkstyle-plugin
</artifactId>
<artifactId>
maven-checkstyle-plugin
</artifactId>
<!--
<dependencies>
<dependency>
<groupId>org.apache.hadoop.metadata</groupId>
<artifactId>checkstyle</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
-->
<executions>
<executions>
<execution>
<execution>
<id>
checkstyle-check
</id>
<id>
checkstyle-check
</id>
...
@@ -269,9 +263,9 @@
...
@@ -269,9 +263,9 @@
<configuration>
<configuration>
<consoleOutput>
true
</consoleOutput>
<consoleOutput>
true
</consoleOutput>
<includeTestSourceDirectory>
true
</includeTestSourceDirectory>
<includeTestSourceDirectory>
true
</includeTestSourceDirectory>
<configLocation>
build/checkstyle.xml
</configLocation>
<configLocation>
src/
build/checkstyle.xml
</configLocation>
<headerLocation>
build/checkstyle-java-header.txt
</headerLocation>
<headerLocation>
src/
build/checkstyle-java-header.txt
</headerLocation>
<failOnViolation>
tru
e
</failOnViolation>
<failOnViolation>
fals
e
</failOnViolation>
</configuration>
</configuration>
</execution>
</execution>
</executions>
</executions>
...
@@ -283,8 +277,8 @@
...
@@ -283,8 +277,8 @@
<configuration>
<configuration>
<!--debug>true</debug -->
<!--debug>true</debug -->
<xmlOutput>
true
</xmlOutput>
<xmlOutput>
true
</xmlOutput>
<excludeFilterFile>
${basedir}/../
build/checkstyle
/findbugs-exclude.xml
</excludeFilterFile>
<excludeFilterFile>
${basedir}/../
src/build
/findbugs-exclude.xml
</excludeFilterFile>
<failOnError>
tru
e
</failOnError>
<failOnError>
fals
e
</failOnError>
</configuration>
</configuration>
<executions>
<executions>
<execution>
<execution>
...
@@ -296,6 +290,7 @@
...
@@ -296,6 +290,7 @@
</execution>
</execution>
</executions>
</executions>
</plugin>
</plugin>
<!-- Source code metrics: mvn javancss:report or mvn site -->
<!-- Source code metrics: mvn javancss:report or mvn site -->
<plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<groupId>
org.codehaus.mojo
</groupId>
...
...
repository/pom.xml
View file @
c1e20f8d
<?xml version="1.0" encoding="UTF-8"?>
<?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
~ Licensed to the Apache Software Foundation (ASF) under one
work for additional information ~ regarding copyright ownership. The ASF
~ or more contributor license agreements. See the NOTICE file
licenses this file ~ to you under the Apache License, Version 2.0 (the ~
~ distributed with this work for additional information
"License"); you may not use this file except in compliance ~ with the License.
~ regarding copyright ownership. The ASF licenses this file
You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0
~ to you under the Apache License, Version 2.0 (the
~ ~ Unless required by applicable law or agreed to in writing, software ~
~ "License"); you may not use this file except in compliance
distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT
~ with the License. You may obtain a copy of the License at
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the
~
License for the specific language governing permissions and ~ limitations
~ http://www.apache.org/licenses/LICENSE-2.0
under the License. -->
~
~ 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.
-->
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
...
...
repository/src/main/java/org/apache/hadoop/metadata/discovery/GraphBackedDiscoveryService.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
discovery
;
package
org
.
apache
.
hadoop
.
metadata
.
discovery
;
import
com.google.common.base.Preconditions
;
import
com.google.common.base.Preconditions
;
...
...
repository/src/main/java/org/apache/hadoop/metadata/repository/graph/GraphProvider.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
repository
.
graph
;
package
org
.
apache
.
hadoop
.
metadata
.
repository
.
graph
;
import
org.apache.commons.configuration.ConfigurationException
;
import
org.apache.commons.configuration.ConfigurationException
;
...
...
repository/src/main/java/org/apache/hadoop/metadata/repository/graph/GraphServiceConfigurator.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
repository
.
graph
;
package
org
.
apache
.
hadoop
.
metadata
.
repository
.
graph
;
public
class
GraphServiceConfigurator
extends
PropertyBasedConfigurator
<
GraphService
>
{
public
class
GraphServiceConfigurator
extends
PropertyBasedConfigurator
<
GraphService
>
{
...
...
repository/src/main/java/org/apache/hadoop/metadata/repository/graph/PropertyBasedConfigurator.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
repository
.
graph
;
package
org
.
apache
.
hadoop
.
metadata
.
repository
.
graph
;
import
java.util.Properties
;
import
java.util.Properties
;
...
...
repository/src/main/java/org/apache/hadoop/metadata/repository/graph/TitanGraphProvider.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
repository
.
graph
;
package
org
.
apache
.
hadoop
.
metadata
.
repository
.
graph
;
import
javax.inject.Singleton
;
import
javax.inject.Singleton
;
...
...
repository/src/test/java/org/apache/hadoop/metadata/RepositoryServiceLoadingTest.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
;
package
org
.
apache
.
hadoop
.
metadata
;
import
javax.inject.Inject
;
import
javax.inject.Inject
;
...
...
repository/src/test/java/org/apache/hadoop/metadata/services/TitanGraphServiceTest.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
services
;
package
org
.
apache
.
hadoop
.
metadata
.
services
;
import
javax.inject.Inject
;
import
javax.inject.Inject
;
...
...
repository/src/test/resources/graph.properties
View file @
c1e20f8d
#
# 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.
#
storage.backend
=
inmemory
storage.backend
=
inmemory
# Graph Search Index
# Graph Search Index
...
...
src/conf/graph.properties
View file @
c1e20f8d
#
# 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.
#
# Graph Storage
# Graph Storage
storage.backend
=
berkeleyje
storage.backend
=
berkeleyje
storage.directory
=
./data/berkeley
storage.directory
=
./data/berkeley
...
...
src/conf/log4j.xml
View file @
c1e20f8d
...
@@ -51,15 +51,24 @@
...
@@ -51,15 +51,24 @@
<appender-ref
ref=
"FILE"
/>
<appender-ref
ref=
"FILE"
/>
</logger>
</logger>
<logger
name=
"com.thinkaurelius.titan"
additivity=
"false"
>
<level
value=
"info"
/>
<appender-ref
ref=
"FILE"
/>
</logger>
<logger
name=
"org.elasticsearch"
additivity=
"false"
>
<level
value=
"info"
/>
<appender-ref
ref=
"FILE"
/>
</logger>
<logger
name=
"AUDIT"
>
<logger
name=
"AUDIT"
>
<level
value=
"info"
/>
<level
value=
"info"
/>
<appender-ref
ref=
"console"
/>
<appender-ref
ref=
"AUDIT"
/>
<appender-ref
ref=
"AUDIT"
/>
</logger>
</logger>
<root>
<root>
<priority
value=
"info"
/>
<priority
value=
"info"
/>
<appender-ref
ref=
"console"
/>
<appender-ref
ref=
"FILE"
/>
<appender-ref
ref=
"FILE"
/>
</root>
</root>
...
...
src/main/assemblies/src-package.xml
View file @
c1e20f8d
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!--
Licensed to the Apache Software Foundation (ASF) under one
~
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
~
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
~
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
~
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
~
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
~
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
~
with the License. You may obtain a copy of the License at
~
http://www.apache.org/licenses/LICENSE-2.0
~
http://www.apache.org/licenses/LICENSE-2.0
~
Unless required by applicable law or agreed to in writing, software
~
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
~
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
~
See the License for the specific language governing permissions and
limitations under the License.
~
limitations under the License.
-->
-->
<assembly
xmlns=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
<assembly
xmlns=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"
>
...
...
src/main/assemblies/standalone-package.xml
View file @
c1e20f8d
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!--
Licensed to the Apache Software Foundation (ASF) under one
~
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
~
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
~
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
~
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
~
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
~
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
~
with the License. You may obtain a copy of the License at
~
http://www.apache.org/licenses/LICENSE-2.0
~
http://www.apache.org/licenses/LICENSE-2.0
~
Unless required by applicable law or agreed to in writing, software
~
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
~
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
~
See the License for the specific language governing permissions and
limitations under the License.
~
limitations under the License.
-->
-->
<assembly
xmlns=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
<assembly
xmlns=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"
>
...
...
typesystem/.gitignore
View file @
c1e20f8d
# 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.
# Eclipse
# Eclipse
.classpath
.classpath
.project
.project
...
...
typesystem/doc/notes.MD
View file @
c1e20f8d
# 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.
## Call with Harish on the initial typesystem naming conventions and intentions
## Call with Harish on the initial typesystem naming conventions and intentions
### Structs are like C structs - they don't have an identity
### Structs are like C structs - they don't have an identity
...
...
typesystem/src/main/java/org/apache/hadoop/metadata/MetadataException.java
View file @
c1e20f8d
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
apache
.
hadoop
.
metadata
;
package
org
.
apache
.
hadoop
.
metadata
;
public
class
MetadataException
extends
Exception
{
public
class
MetadataException
extends
Exception
{
...
...
typesystem/src/main/java/org/apache/hadoop/metadata/storage/IRepository.java
View file @
c1e20f8d
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
apache
.
hadoop
.
metadata
.
storage
;
package
org
.
apache
.
hadoop
.
metadata
.
storage
;
import
org.apache.hadoop.metadata.IReferenceableInstance
;
import
org.apache.hadoop.metadata.IReferenceableInstance
;
...
...
typesystem/src/main/java/org/apache/hadoop/metadata/storage/RepositoryException.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
storage
;
package
org
.
apache
.
hadoop
.
metadata
.
storage
;
import
org.apache.hadoop.metadata.MetadataException
;
import
org.apache.hadoop.metadata.MetadataException
;
...
...
typesystem/src/main/java/org/apache/hadoop/metadata/storage/StructInstance.java
View file @
c1e20f8d
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
apache
.
hadoop
.
metadata
.
storage
;
package
org
.
apache
.
hadoop
.
metadata
.
storage
;
import
com.google.common.collect.ImmutableList
;
import
com.google.common.collect.ImmutableList
;
...
...
typesystem/src/main/java/org/apache/hadoop/metadata/types/FieldMapping.java
View file @
c1e20f8d
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
apache
.
hadoop
.
metadata
.
types
;
package
org
.
apache
.
hadoop
.
metadata
.
types
;
import
org.apache.hadoop.metadata.IReferenceableInstance
;
import
org.apache.hadoop.metadata.IReferenceableInstance
;
...
...
typesystem/src/main/java/org/apache/hadoop/metadata/types/IConstructableType.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
types
;
package
org
.
apache
.
hadoop
.
metadata
.
types
;
...
...
typesystem/src/main/java/org/apache/hadoop/metadata/types/IDataType.java
View file @
c1e20f8d
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
apache
.
hadoop
.
metadata
.
types
;
package
org
.
apache
.
hadoop
.
metadata
.
types
;
import
org.apache.hadoop.metadata.MetadataException
;
import
org.apache.hadoop.metadata.MetadataException
;
...
...
typesystem/src/main/java/org/apache/hadoop/metadata/types/Multiplicity.java
View file @
c1e20f8d
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
apache
.
hadoop
.
metadata
.
types
;
package
org
.
apache
.
hadoop
.
metadata
.
types
;
public
final
class
Multiplicity
{
public
final
class
Multiplicity
{
...
...
typesystem/src/main/java/org/apache/hadoop/metadata/types/ObjectGraphWalker.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
types
;
package
org
.
apache
.
hadoop
.
metadata
.
types
;
import
com.google.common.collect.ImmutableList
;
import
com.google.common.collect.ImmutableList
;
...
...
typesystem/src/main/java/org/apache/hadoop/metadata/types/StructType.java
View file @
c1e20f8d
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
apache
.
hadoop
.
metadata
.
types
;
package
org
.
apache
.
hadoop
.
metadata
.
types
;
import
com.google.common.collect.ImmutableList
;
import
com.google.common.collect.ImmutableList
;
...
...
typesystem/src/main/java/org/apache/hadoop/metadata/types/TypeUtils.java
View file @
c1e20f8d
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
apache
.
hadoop
.
metadata
.
types
;
package
org
.
apache
.
hadoop
.
metadata
.
types
;
import
com.google.common.collect.ImmutableMap
;
import
com.google.common.collect.ImmutableMap
;
...
...
typesystem/src/main/java/org/apache/hadoop/metadata/types/ValueConversionException.java
View file @
c1e20f8d
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
apache
.
hadoop
.
metadata
.
types
;
package
org
.
apache
.
hadoop
.
metadata
.
types
;
import
org.apache.hadoop.metadata.MetadataException
;
import
org.apache.hadoop.metadata.MetadataException
;
...
...
typesystem/src/main/java/org/apache/hadoop/metadata/types/package-info.java
View file @
c1e20f8d
/*
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
...
typesystem/src/main/resources/application.conf
View file @
c1e20f8d
# 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.
akka
{
akka
{
loglevel
=
DEBUG
loglevel
=
DEBUG
stdout
-
loglevel
=
DEBUG
stdout
-
loglevel
=
DEBUG
...
...
typesystem/src/main/scala/org/apache/hadoop/metadata/TypesDef.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* "License"); you may not use this file except in compliance
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* with the License. You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
typesystem/src/main/scala/org/apache/hadoop/metadata/cli/Console.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
...
typesystem/src/main/scala/org/apache/hadoop/metadata/dsl/DynamicTypedStruct.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
...
typesystem/src/main/scala/org/apache/hadoop/metadata/dsl/package.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
...
typesystem/src/main/scala/org/apache/hadoop/metadata/json/Serialization.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
...
typesystem/src/main/scala/org/apache/hadoop/metadata/json/TypesSerialization.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* "License"); you may not use this file except in compliance
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* with the License. You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/Main.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
...
typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/MetadataActor.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
...
typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/RestInterface.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
...
typesystem/src/main/scala/org/apache/hadoop/metadata/tools/thrift/ThriftParser.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
...
typesystem/src/main/scala/org/apache/hadoop/metadata/tools/thrift/ThriftTypesGen.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
...
typesystem/src/test/java/org/apache/hadoop/metadata/ClassTest.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
;
package
org
.
apache
.
hadoop
.
metadata
;
import
org.apache.hadoop.metadata.types.ClassType
;
import
org.apache.hadoop.metadata.types.ClassType
;
...
...
typesystem/src/test/java/org/apache/hadoop/metadata/EnumTest.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
;
package
org
.
apache
.
hadoop
.
metadata
;
import
com.google.common.collect.ImmutableList
;
import
com.google.common.collect.ImmutableList
;
...
...
typesystem/src/test/java/org/apache/hadoop/metadata/StorageTest.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
;
package
org
.
apache
.
hadoop
.
metadata
;
import
com.google.common.collect.ImmutableList
;
import
com.google.common.collect.ImmutableList
;
...
...
typesystem/src/test/java/org/apache/hadoop/metadata/TraitTest.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
;
package
org
.
apache
.
hadoop
.
metadata
;
import
com.google.common.collect.ImmutableList
;
import
com.google.common.collect.ImmutableList
;
...
...
typesystem/src/test/java/org/apache/hadoop/metadata/VenkateshTest.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
;
package
org
.
apache
.
hadoop
.
metadata
;
import
com.google.common.collect.ImmutableList
;
import
com.google.common.collect.ImmutableList
;
...
...
typesystem/src/test/scala/org/apache/hadoop/metadata/dsl/DSLTest.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
...
typesystem/src/test/scala/org/apache/hadoop/metadata/hive/HiveMockMetadataService.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
...
typesystem/src/test/scala/org/apache/hadoop/metadata/json/SerializationTest.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
...
typesystem/src/test/scala/org/apache/hadoop/metadata/json/TypesSerializationTest.scala
View file @
c1e20f8d
/*
*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* distributed with this work for additional information
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* "License"); you may not use this file except in compliance
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* with the License. You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
typesystem/src/test/scala/org/apache/hadoop/metadata/tools/thrift/ThriftLexerTest.scala
View file @
c1e20f8d
/*
* 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.
*/
package
org.apache.hadoop.metadata.tools.thrift
package
org.apache.hadoop.metadata.tools.thrift
import
org.junit.Test
import
org.junit.Test
...
...
typesystem/src/test/scala/org/apache/hadoop/metadata/tools/thrift/ThriftParserTest.scala
View file @
c1e20f8d
/*
* 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.
*/
package
org.apache.hadoop.metadata.tools.thrift
package
org.apache.hadoop.metadata.tools.thrift
import
org.json4s.NoTypeHints
import
org.json4s.NoTypeHints
...
...
webapp/pom.xml
View file @
c1e20f8d
<?xml version="1.0" encoding="UTF-8"?>
<?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
~ Licensed to the Apache Software Foundation (ASF) under one
work for additional information ~ regarding copyright ownership. The ASF
~ or more contributor license agreements. See the NOTICE file
licenses this file ~ to you under the Apache License, Version 2.0 (the ~
~ distributed with this work for additional information
"License"); you may not use this file except in compliance ~ with the License.
~ regarding copyright ownership. The ASF licenses this file
You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0
~ to you under the Apache License, Version 2.0 (the
~ ~ Unless required by applicable law or agreed to in writing, software ~
~ "License"); you may not use this file except in compliance
distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT
~ with the License. You may obtain a copy of the License at
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the
~
License for the specific language governing permissions and ~ limitations
~ http://www.apache.org/licenses/LICENSE-2.0
under the License. -->
~
~ 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.
-->
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
...
...
webapp/src/main/java/org/apache/hadoop/metadata/web/listeners/GuiceServletConfig.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
web
.
listeners
;
package
org
.
apache
.
hadoop
.
metadata
.
web
.
listeners
;
import
java.util.HashMap
;
import
java.util.HashMap
;
...
...
webapp/src/main/resources/graph.properties
View file @
c1e20f8d
#
# 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.
#
storage.backend
=
inmemory
storage.backend
=
inmemory
# Graph Search Index
# Graph Search Index
...
...
webapp/src/main/resources/log4j.xml
View file @
c1e20f8d
...
@@ -51,6 +51,16 @@
...
@@ -51,6 +51,16 @@
<appender-ref
ref=
"FILE"
/>
<appender-ref
ref=
"FILE"
/>
</logger>
</logger>
<logger
name=
"com.thinkaurelius.titan"
additivity=
"false"
>
<level
value=
"info"
/>
<appender-ref
ref=
"FILE"
/>
</logger>
<logger
name=
"org.elasticsearch"
additivity=
"false"
>
<level
value=
"info"
/>
<appender-ref
ref=
"FILE"
/>
</logger>
<logger
name=
"AUDIT"
>
<logger
name=
"AUDIT"
>
<level
value=
"info"
/>
<level
value=
"info"
/>
<appender-ref
ref=
"console"
/>
<appender-ref
ref=
"console"
/>
...
@@ -59,7 +69,6 @@
...
@@ -59,7 +69,6 @@
<root>
<root>
<priority
value=
"info"
/>
<priority
value=
"info"
/>
<appender-ref
ref=
"console"
/>
<appender-ref
ref=
"FILE"
/>
<appender-ref
ref=
"FILE"
/>
</root>
</root>
...
...
webapp/src/main/webapp/WEB-INF/web.xml
View file @
c1e20f8d
<?xml version="1.0" encoding="UTF-8"?>
<?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
~ Licensed to the Apache Software Foundation (ASF) under one
work for additional information ~ regarding copyright ownership. The ASF
~ or more contributor license agreements. See the NOTICE file
licenses this file ~ to you under the Apache License, Version 2.0 (the ~
~ distributed with this work for additional information
"License"); you may not use this file except in compliance ~ with the License.
~ regarding copyright ownership. The ASF licenses this file
You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0
~ to you under the Apache License, Version 2.0 (the
~ ~ Unless required by applicable law or agreed to in writing, software ~
~ "License"); you may not use this file except in compliance
distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT
~ with the License. You may obtain a copy of the License at
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the
~
License for the specific language governing permissions and ~ limitations
~ http://www.apache.org/licenses/LICENSE-2.0
under the License. -->
~
~ 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.
-->
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
"http://java.sun.com/dtd/web-app_2_3.dtd">
...
...
webapp/src/main/webapp/index.html
View file @
c1e20f8d
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
~ See the License for the specific language governing permissions and
~ See the License for the specific language governing permissions and
~ limitations under the License.
~ limitations under the License.
-->
-->
<!DOCTYPE HTML>
<!DOCTYPE HTML>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
...
...
webapp/src/test/java/org/apache/hadoop/metadata/web/resources/BaseResourceIT.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
web
.
resources
;
package
org
.
apache
.
hadoop
.
metadata
.
web
.
resources
;
import
com.google.common.collect.ImmutableList
;
import
com.google.common.collect.ImmutableList
;
...
...
webapp/src/test/java/org/apache/hadoop/metadata/web/resources/RexsterGraphJerseyResourceIT.java
View file @
c1e20f8d
/**
* 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.
*/
package
org
.
apache
.
hadoop
.
metadata
.
web
.
resources
;
package
org
.
apache
.
hadoop
.
metadata
.
web
.
resources
;
import
com.sun.jersey.api.client.ClientResponse
;
import
com.sun.jersey.api.client.ClientResponse
;
...
...
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