[
https://issues.apache.org/jira/browse/HIVE-16354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15984227#comment-15984227
]
Zoltan Haindrich commented on HIVE-16354:
-----------------------------------------
{code}
patch: **** Can't get file attributes of file
metastore-client/src/gen/thrift/gen-py/__init__.py : No such file or directory
{code}
well...this is interesting...according to patch.c source...this error message
is produced by the "patch" utility: https://fossies.org/linux/patch/src/patch.c
line 1784
even more intresting that the method is about file deletion...however the noted
filename is the rename target...which shouldn't be removed at all :)
for me the patch applies cleanly...without issues using patch 2.7.5 ( more
preciesly, i'm using this version: https://packages.debian.org/stretch/patch)
[~spena] could you give me some insight which OS / patch utility version is
used during hive builds? or even better...could you try this on the node which
does the patching...if I'm right, it will fail....
{code}
cd /tmp
git clone --depth=1 http://github.com/apache/hive t1
wget
'https://issues.apache.org/jira/secure/attachment/12864991/allinwonder.2.patch'
cat allinwonder.2.patch | patch -p0
{code}
> Modularization efforts - change some dependencies to smaller client/api
> modules
> -------------------------------------------------------------------------------
>
> Key: HIVE-16354
> URL: https://issues.apache.org/jira/browse/HIVE-16354
> Project: Hive
> Issue Type: Improvement
> Components: Metastore, Server Infrastructure
> Reporter: Zoltan Haindrich
> Attachments: allinwonder.1.patch, allinwonder.2.patch
>
>
> in HIVE-16214 I've identified some pieces which might be good to move to new
> modules...since that I've looked into it a bit more what could be done in
> this aspect...and to prevent going backward in this path; or get stuck at
> some point - I would like to be able to propose smaller changes prior to
> creating any modules...
> The goal here is to remove the unneeded dependencies from the modules which
> doesn't necessarily need them: the biggest fish in this tank is the {{jdbc}}
> module, which currently ships with full hiveserver server side + all of the
> ql codes + the whole metastore (including the jpa persistence libs) - this
> makes the jdbc driver a really fat jar...
> These changes will also reduce the hive binary distribution size; introducing
> service-client have reduce it by 20% percent alone.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)