incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/5] git commit: Adding lucene document security lib to MR job tmpjars.
Date Sun, 01 Feb 2015 02:24:40 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/master d227cb351 -> 0b37b49f7


Adding lucene document security lib to MR job tmpjars.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/28337a4a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/28337a4a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/28337a4a

Branch: refs/heads/master
Commit: 28337a4aa71e25ae315f3f56456a110a153fc293
Parents: b2d75ec
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Thu Jan 29 20:52:52 2015 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Thu Jan 29 20:52:52 2015 -0500

----------------------------------------------------------------------
 .../java/org/apache/blur/mapreduce/lib/BlurMapReduceUtil.java   | 5 ++++-
 .../java/org/apache/blur/mapreduce/lib/BlurMapReduceUtil.java   | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/28337a4a/blur-mapred-hadoop1/src/main/java/org/apache/blur/mapreduce/lib/BlurMapReduceUtil.java
----------------------------------------------------------------------
diff --git a/blur-mapred-hadoop1/src/main/java/org/apache/blur/mapreduce/lib/BlurMapReduceUtil.java
b/blur-mapred-hadoop1/src/main/java/org/apache/blur/mapreduce/lib/BlurMapReduceUtil.java
index 5ee26eb..a6b4fe4 100644
--- a/blur-mapred-hadoop1/src/main/java/org/apache/blur/mapreduce/lib/BlurMapReduceUtil.java
+++ b/blur-mapred-hadoop1/src/main/java/org/apache/blur/mapreduce/lib/BlurMapReduceUtil.java
@@ -27,6 +27,8 @@ import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
 
+import lucene.security.DocumentVisibility;
+
 import org.apache.blur.log.Log;
 import org.apache.blur.log.LogFactory;
 import org.apache.hadoop.conf.Configuration;
@@ -52,7 +54,7 @@ public class BlurMapReduceUtil {
     try {
       addDependencyJars(job.getConfiguration(), org.apache.zookeeper.ZooKeeper.class, job.getMapOutputKeyClass(),
           job.getMapOutputValueClass(), job.getInputFormatClass(), job.getOutputKeyClass(),
job.getOutputValueClass(),
-          job.getOutputFormatClass(), job.getPartitionerClass(), job.getCombinerClass());
+          job.getOutputFormatClass(), job.getPartitionerClass(), job.getCombinerClass(),
DocumentVisibility.class);
       addAllJarsInBlurLib(job.getConfiguration());
     } catch (ClassNotFoundException e) {
       throw new IOException(e);
@@ -61,6 +63,7 @@ public class BlurMapReduceUtil {
 
   /**
    * Adds all the jars in the same path as the blur jar files.
+   * 
    * @param conf
    * @throws IOException
    */

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/28337a4a/blur-mapred-hadoop2/src/main/java/org/apache/blur/mapreduce/lib/BlurMapReduceUtil.java
----------------------------------------------------------------------
diff --git a/blur-mapred-hadoop2/src/main/java/org/apache/blur/mapreduce/lib/BlurMapReduceUtil.java
b/blur-mapred-hadoop2/src/main/java/org/apache/blur/mapreduce/lib/BlurMapReduceUtil.java
index ae2bcde..41769d0 100644
--- a/blur-mapred-hadoop2/src/main/java/org/apache/blur/mapreduce/lib/BlurMapReduceUtil.java
+++ b/blur-mapred-hadoop2/src/main/java/org/apache/blur/mapreduce/lib/BlurMapReduceUtil.java
@@ -27,6 +27,8 @@ import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
 
+import lucene.security.DocumentVisibility;
+
 import org.apache.blur.log.Log;
 import org.apache.blur.log.LogFactory;
 import org.apache.hadoop.conf.Configuration;
@@ -52,7 +54,7 @@ public class BlurMapReduceUtil {
     try {
       addDependencyJars(job.getConfiguration(), org.apache.zookeeper.ZooKeeper.class, job.getMapOutputKeyClass(),
           job.getMapOutputValueClass(), job.getInputFormatClass(), job.getOutputKeyClass(),
job.getOutputValueClass(),
-          job.getOutputFormatClass(), job.getPartitionerClass(), job.getCombinerClass());
+          job.getOutputFormatClass(), job.getPartitionerClass(), job.getCombinerClass(),
DocumentVisibility.class);
       addAllJarsInBlurLib(job.getConfiguration());
     } catch (ClassNotFoundException e) {
       throw new IOException(e);
@@ -61,6 +63,7 @@ public class BlurMapReduceUtil {
 
   /**
    * Adds all the jars in the same path as the blur jar files.
+   * 
    * @param conf
    * @throws IOException
    */


Mime
View raw message