Permalink
Browse files

not working yet

  • Loading branch information...
1 parent 4207bbe commit 839f3022cd7470da11872c028a998e6a03b3d05f @ekoontz committed Mar 26, 2012
Showing with 26 additions and 0 deletions.
  1. +23 −0 pom.xml
  2. +3 −0 src/main/java/org/apache/giraph/comm/RPCCommunications.java
View
23 pom.xml
@@ -468,6 +468,29 @@ under the License.
<scope>provided</scope>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>munge-maven-plugin</artifactId>
+ <version>${munge-maven-plugin.version}</version>
+ <executions>
+ <execution>
+ <id>munge</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>munge</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <symbols>HADOOP_SECURE</symbols>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
</profile>
<profile>
<id>hadoop_non_secure</id>
@@ -167,6 +167,9 @@ protected Server getRPCServer(
* @return Proxy of the RPC server.
*/
protected
+/*if[HADOOP_NEWRPC]
+ else[HADOOP_NEWRPC]*/
+/*end[HADOOP_NEWRPC]*/
/*if[HADOOP_SECURE]
CommunicationsInterface<I, V, E, M> getRPCProxy(
final InetSocketAddress addr,

0 comments on commit 839f302

Please sign in to comment.