> On 2011-12-05 23:39:18, John Sichi wrote:
> > common/src/java/org/apache/hadoop/hive/conf/HiveConf.java, line 776
> > <https://reviews.apache.org/r/2960/diff/2/?file=61977#file61977line776>
> >
> >     Carl, there is an addResource overload which takes an InputStream.  
> > Can't we use that plus ByteArrayOutputStream to avoid having to create a 
> > temporary file?

I tried this approach originally, but 
o.a.h.conf.Configuration.addResource(InputStream) is broken. Anything you add 
using this method gets added to a list which is reloaded on every subsequent 
call to addResource, which results in an unexpected EOF exception on the first 
reload.


- Carl


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


On 2011-12-05 21:15:13, Carl Steinbach wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/2960/
> -----------------------------------------------------------
> 
> (Updated 2011-12-05 21:15:13)
> 
> 
> Review request for hive and John Sichi.
> 
> 
> Summary
> -------
> 
> Fix for HIVE-2362.
> 
> 
> This addresses bug HIVE-2362.
>     https://issues.apache.org/jira/browse/HIVE-2362
> 
> 
> Diffs
> -----
> 
>   eclipse-templates/.classpath b020907 
>   common/src/test/resources/hive-site.xml PRE-CREATION 
>   conf/hive-default.xml 53eca0e 
>   common/src/test/org/apache/hadoop/hive/conf/TestHiveConf.java PRE-CREATION 
>   build-common.xml 1d162de 
>   common/build.xml 432eba5 
>   common/src/java/org/apache/hadoop/hive/conf/HiveConf.java d9b6fd5 
> 
> Diff: https://reviews.apache.org/r/2960/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Carl
> 
>

Reply via email to