You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Madhan Neethiraj <ma...@apache.org> on 2017/12/15 22:29:47 UTC

Review Request 64662: ATLAS-2312: Use ThreadLocal DateFormat objects to avoid simultaneous use from multiple threads

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64662/
-----------------------------------------------------------

Review request for atlas.


Bugs: ATLAS-2312
    https://issues.apache.org/jira/browse/ATLAS-2312


Repository: atlas


Description
-------

replace static DateFormat instance with a ThreadLocal


Diffs
-----

  addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java 5592b66a 
  intg/src/main/java/org/apache/atlas/model/instance/AtlasStruct.java 995ff542 
  intg/src/main/java/org/apache/atlas/model/typedef/AtlasBaseTypeDef.java 84373003 
  intg/src/main/java/org/apache/atlas/type/AtlasBuiltInTypes.java 139d4ec9 
  intg/src/main/java/org/apache/atlas/utils/AtlasJson.java ec185d28 
  intg/src/main/java/org/apache/atlas/v1/model/instance/Id.java 8ad752af 
  intg/src/test/java/org/apache/atlas/type/TestAtlasDateType.java 6236a6df 


Diff: https://reviews.apache.org/r/64662/diff/1/


Testing
-------

Verified that unit tests pass successfully.


Thanks,

Madhan Neethiraj


Re: Review Request 64662: ATLAS-2312: Use ThreadLocal DateFormat objects to avoid simultaneous use from multiple threads

Posted by Nixon Rodrigues <ni...@freestoneinfotech.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64662/#review194060
-----------------------------------------------------------


Ship it!




Ship It!

- Nixon Rodrigues


On Dec. 16, 2017, 4:51 a.m., Madhan Neethiraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64662/
> -----------------------------------------------------------
> 
> (Updated Dec. 16, 2017, 4:51 a.m.)
> 
> 
> Review request for atlas.
> 
> 
> Bugs: ATLAS-2312
>     https://issues.apache.org/jira/browse/ATLAS-2312
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> replace static DateFormat instance with a ThreadLocal
> 
> 
> Diffs
> -----
> 
>   addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java 5592b66a 
>   intg/src/main/java/org/apache/atlas/model/instance/AtlasStruct.java 995ff542 
>   intg/src/main/java/org/apache/atlas/model/typedef/AtlasBaseTypeDef.java 84373003 
>   intg/src/main/java/org/apache/atlas/type/AtlasBuiltInTypes.java 139d4ec9 
>   intg/src/main/java/org/apache/atlas/utils/AtlasJson.java ec185d28 
>   intg/src/main/java/org/apache/atlas/v1/model/instance/Id.java 8ad752af 
>   intg/src/test/java/org/apache/atlas/type/TestAtlasDateType.java 6236a6df 
> 
> 
> Diff: https://reviews.apache.org/r/64662/diff/2/
> 
> 
> Testing
> -------
> 
> Verified that unit tests pass successfully.
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>


Re: Review Request 64662: ATLAS-2312: Use ThreadLocal DateFormat objects to avoid simultaneous use from multiple threads

Posted by Madhan Neethiraj <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64662/
-----------------------------------------------------------

(Updated Dec. 16, 2017, 4:51 a.m.)


Review request for atlas.


Changes
-------

updated to retain existing public members


Bugs: ATLAS-2312
    https://issues.apache.org/jira/browse/ATLAS-2312


Repository: atlas


Description
-------

replace static DateFormat instance with a ThreadLocal


Diffs (updated)
-----

  addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java 5592b66a 
  intg/src/main/java/org/apache/atlas/model/instance/AtlasStruct.java 995ff542 
  intg/src/main/java/org/apache/atlas/model/typedef/AtlasBaseTypeDef.java 84373003 
  intg/src/main/java/org/apache/atlas/type/AtlasBuiltInTypes.java 139d4ec9 
  intg/src/main/java/org/apache/atlas/utils/AtlasJson.java ec185d28 
  intg/src/main/java/org/apache/atlas/v1/model/instance/Id.java 8ad752af 
  intg/src/test/java/org/apache/atlas/type/TestAtlasDateType.java 6236a6df 


Diff: https://reviews.apache.org/r/64662/diff/2/

Changes: https://reviews.apache.org/r/64662/diff/1-2/


Testing
-------

Verified that unit tests pass successfully.


Thanks,

Madhan Neethiraj