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
983e5baa
Commit
983e5baa
authored
Sep 29, 2015
by
Shwetha GS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-134 Some defects found when reviewing the source code (ltfxyz via shwethags)
parent
9828c973
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
TestMetadata.py
distro/src/test/python/scripts/TestMetadata.py
+3
-3
release-log.txt
release-log.txt
+1
-0
AttributeStores.java
...a/org/apache/atlas/repository/memory/AttributeStores.java
+1
-1
ObjectGraphTraversal.java
...g/apache/atlas/typesystem/types/ObjectGraphTraversal.java
+1
-1
ObjectGraphWalker.java
.../org/apache/atlas/typesystem/types/ObjectGraphWalker.java
+1
-1
No files found.
distro/src/test/python/scripts/TestMetadata.py
View file @
983e5baa
...
...
@@ -49,9 +49,9 @@ class TestMetadata(unittest.TestCase):
if
IS_WINDOWS
:
java_mock
.
assert_called_with
(
'org.apache.atlas.Main'
,
[
'-app'
,
'metadata_home
/server/webapp/
atlas'
],
'metadata_home
/conf:metadata_home/server/webapp/atlas/WEB-INF/classes:metadata_home/server/webapp/atlas/WEB-INF/lib
\\
*:metadata_home/
libext
\\
*'
,
[
'-Datlas.log.dir=metadata_home
/logs'
,
'-Datlas.log.file=application.log'
,
'-Datlas.home=metadata_home'
,
'-Datlas.conf=metadata_home/conf'
,
'-Xmx1024m'
,
'-XX:MaxPermSize=512m'
,
'-Dlog4j.configuration=atlas-log4j.xml'
],
'metadata_home/
logs'
)
[
'-app'
,
'metadata_home
\\
server
\\
webapp
\\
atlas'
],
'metadata_home
\\
conf:metadata_home
\\
server
\\
webapp
\\
atlas
\\
WEB-INF
\\
classes:metadata_home
\\
server
\\
webapp
\\
atlas
\\
WEB-INF
\\
lib
\\
*:metadata_home
\\
libext
\\
*'
,
[
'-Datlas.log.dir=metadata_home
\\
logs'
,
'-Datlas.log.file=application.log'
,
'-Datlas.home=metadata_home'
,
'-Datlas.conf=metadata_home
\\
conf'
,
'-Xmx1024m'
,
'-XX:MaxPermSize=512m'
,
'-Dlog4j.configuration=atlas-log4j.xml'
],
'metadata_home
\\
logs'
)
else
:
java_mock
.
assert_called_with
(
'org.apache.atlas.Main'
,
...
...
release-log.txt
View file @
983e5baa
...
...
@@ -9,6 +9,7 @@ ATLAS-54 Rename configs in hive hook (shwethags)
ATLAS-3 Mixed Index creation fails with Date types (suma.shivaprasad via shwethags)
ALL CHANGES:
ATLAS-134 Some defects found when reviewing the source code (ltfxyz via shwethags)
ATLAS-196 Fix solr documentation (suma.shivaprasad via shwethags)
ATLAS-195 Document Hbase configs (suma.shivaprasad via shwethags)
ATLAS-102 Issue with SolrIndex (suma.shivaprasad via shwethags)
...
...
repository/src/main/java/org/apache/atlas/repository/memory/AttributeStores.java
View file @
983e5baa
...
...
@@ -55,7 +55,7 @@ public class AttributeStores {
}
else
if
(
i
.
dataType
()
==
DataTypes
.
BYTE_TYPE
)
{
return
new
ByteAttributeStore
(
i
);
}
else
if
(
i
.
dataType
()
==
DataTypes
.
SHORT_TYPE
)
{
new
ShortAttributeStore
(
i
);
return
new
ShortAttributeStore
(
i
);
}
else
if
(
i
.
dataType
()
==
DataTypes
.
INT_TYPE
)
{
return
new
IntAttributeStore
(
i
);
}
else
if
(
i
.
dataType
()
==
DataTypes
.
LONG_TYPE
)
{
...
...
typesystem/src/main/java/org/apache/atlas/typesystem/types/ObjectGraphTraversal.java
View file @
983e5baa
...
...
@@ -53,7 +53,7 @@ public class ObjectGraphTraversal implements Iterator<ObjectGraphTraversal.Insta
processCollection
(
elemType
,
val
);
}
else
if
(
dT
.
getTypeCategory
()
==
DataTypes
.
TypeCategory
.
MAP
)
{
IDataType
keyType
=
((
DataTypes
.
MapType
)
dT
).
getKeyType
();
IDataType
valueType
=
((
DataTypes
.
MapType
)
dT
).
get
Key
Type
();
IDataType
valueType
=
((
DataTypes
.
MapType
)
dT
).
get
Value
Type
();
processMap
(
keyType
,
valueType
,
val
);
}
else
if
(
dT
.
getTypeCategory
()
==
DataTypes
.
TypeCategory
.
STRUCT
||
dT
.
getTypeCategory
()
==
DataTypes
.
TypeCategory
.
TRAIT
)
{
...
...
typesystem/src/main/java/org/apache/atlas/typesystem/types/ObjectGraphWalker.java
View file @
983e5baa
...
...
@@ -91,7 +91,7 @@ public class ObjectGraphWalker {
visitCollection
(
elemType
,
val
);
}
else
if
(
dT
.
getTypeCategory
()
==
DataTypes
.
TypeCategory
.
MAP
)
{
IDataType
keyType
=
((
DataTypes
.
MapType
)
dT
).
getKeyType
();
IDataType
valueType
=
((
DataTypes
.
MapType
)
dT
).
get
Key
Type
();
IDataType
valueType
=
((
DataTypes
.
MapType
)
dT
).
get
Value
Type
();
visitMap
(
keyType
,
valueType
,
val
);
}
else
if
(
dT
.
getTypeCategory
()
==
DataTypes
.
TypeCategory
.
STRUCT
||
dT
.
getTypeCategory
()
==
DataTypes
.
TypeCategory
.
TRAIT
)
{
...
...
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