You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by lu...@apache.org on 2015/05/01 16:06:10 UTC

[03/12] incubator-kylin git commit: KYLIN-669 update pom for OOM issue

KYLIN-669 update pom for OOM issue


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

Branch: refs/heads/0.7.1
Commit: f565e7d224abe2c1718173d51fac8e5d6089ce1a
Parents: b0ab9c0
Author: lukehan <lu...@apache.org>
Authored: Mon Apr 27 10:50:20 2015 +0800
Committer: lukehan <lu...@apache.org>
Committed: Mon Apr 27 10:50:27 2015 +0800

----------------------------------------------------------------------
 dictionary/pom.xml | 67 -------------------------------------------------
 pom.xml            |  9 ++++++-
 2 files changed, 8 insertions(+), 68 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/f565e7d2/dictionary/pom.xml
----------------------------------------------------------------------
diff --git a/dictionary/pom.xml b/dictionary/pom.xml
index 266d5e7..524a52f 100644
--- a/dictionary/pom.xml
+++ b/dictionary/pom.xml
@@ -125,71 +125,4 @@
         </dependency>
     </dependencies>
 
-    <profiles>
-        <profile>
-            <!-- This profile adds/overrides few features of the 'apache-release'
-                 profile in the parent pom. -->
-            <id>apache-release</id>
-            <build>
-                <plugins>
-                    <!-- Apache-RAT checks for files without headers.
-                         If run on a messy developer's sandbox, it will fail.
-                         This serves as a reminder to only build a release in a clean
-                         sandbox! -->
-                    <plugin>
-                        <groupId>org.apache.rat</groupId>
-                        <artifactId>apache-rat-plugin</artifactId>
-                        <configuration>
-                            <numUnapprovedLicenses>0</numUnapprovedLicenses>
-                            <excludes>
-                                <!-- test data -->
-                                <exclude>src/test/resources/dict/eng_com.dic</exclude>
-                            </excludes>
-                        </configuration>
-                        <executions>
-                            <execution>
-                                <phase>verify</phase>
-                                <goals>
-                                    <goal>check</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                        <dependencies>
-                            <dependency>
-                                <groupId>org.apache.maven.doxia</groupId>
-                                <artifactId>doxia-core</artifactId>
-                                <version>1.6</version>
-                                <exclusions>
-                                    <exclusion>
-                                        <groupId>xerces</groupId>
-                                        <artifactId>xercesImpl</artifactId>
-                                    </exclusion>
-                                </exclusions>
-                            </dependency>
-                        </dependencies>
-                    </plugin>
-                    <plugin>
-                        <groupId>net.ju-n.maven.plugins</groupId>
-                        <artifactId>checksum-maven-plugin</artifactId>
-                        <version>1.2</version>
-                        <executions>
-                            <execution>
-                                <goals>
-                                    <goal>artifacts</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                        <configuration>
-                            <algorithms>
-                                <algorithm>MD5</algorithm>
-                                <algorithm>SHA-1</algorithm>
-                            </algorithms>
-                            <failOnError>false</failOnError>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
 </project>

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/f565e7d2/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0c4562f..0ce8848 100644
--- a/pom.xml
+++ b/pom.xml
@@ -609,7 +609,7 @@
     					<configuration>
       						<fork>true</fork>
      						<meminitial>1024m</meminitial>
-      						<maxmem>1024m</maxmem>
+      						<maxmem>2048m</maxmem>
     					</configuration>
   					</plugin>
                     <plugin>
@@ -666,8 +666,10 @@
                                 <exclude>**/*.md</exclude>
                                 <!-- binary files -->
                                 <exclude>**/*.dict</exclude>
+                                <exclude>**/*.dic</exclude>
                                 <exclude>**/*.snapshot</exclude>
                                 <exclude>**/*.pdf</exclude>
+                                <exclude>**/*.log</exclude>
 
                                 <!-- generated files -->
                                 <exclude>**/target/**</exclude>
@@ -684,10 +686,15 @@
                                 <!-- json configuration file-->
                                 <exclude>webapp/.bowerrc</exclude>
                                 <exclude>webapp/.jshintrc</exclude>
+                                <!-- generated dict files -->                               
+                                <exclude>dictionary/metastore_db/**</exclude>
+                                
                                 <!-- MIT license -->
                                 <exclude>webapp/app/css/AdminLTE-fonts.css</exclude>
                                 <exclude>webapp/app/css/AdminLTE.css</exclude>
+                              	
                             </excludes>
+                            <argLine>-Xms1G -Xmx2G -XX:PermSize=128M -XX:MaxPermSize=256M</argLine>
                         </configuration>
                         <executions>
                             <execution>