`

有hadoop_zookeeper的pom.xml

    博客分类:
  • JAVA
 
阅读更多


FROM:http://blog.csdn.net/zph2254/article/details/7104626

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>TestMaven</groupId>
	<artifactId>TestMaven</artifactId>
	<version>1.0</version>
	<packaging>war</packaging>
	<name />
	<description>
		以后建项目的时候不用再一个一个敲!直接在这上改。
		包含一些常用的包(对我个人而言)。
	
	 </description>
	
	<developers>
		<developer>
			<email>zph22543151@163.com</email>
			<name>zouph</name>
		</developer>
	
	
	</developers>
	<!-- 设置变量,方便管理 -->
	<properties>
		<org.springframework.version>3.0.5.RELEASE</org.springframework.version>
		<org.hibernate.version>3.6.8.Final</org.hibernate.version>

		<struts2-version>2.3.1</struts2-version>
		<hibernate-version>3.6.8</hibernate-version>
		<junit-version>4.8.1</junit-version>

	</properties>
	<dependencies>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>bean-validator</artifactId>
			<version>3.0-JBoss-4.0.2</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.annotation</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.ejb</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.enterprise.deploy</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.jms</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.management.j2ee</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.persistence</groupId>
			<artifactId>javax.persistence</artifactId>
			<version>2.0.0</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.resource</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.security.auth.message</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.security.jacc</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.servlet</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.servlet.jsp</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.servlet.jsp.jstl</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.transaction</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api-osgi</artifactId>
			<version>2.2.1</version>
		</dependency>
		<dependency>
			<groupId>com.sun.faces</groupId>
			<artifactId>jsf-api</artifactId>
			<version>2.0.2-b10</version>
		</dependency>
		<dependency>
			<groupId>com.sun.faces</groupId>
			<artifactId>jsf-impl</artifactId>
			<version>2.0.2-b10</version>
		</dependency>
		<dependency>
			<groupId>javax.ws.rs</groupId>
			<artifactId>jsr311-api</artifactId>
			<version>1.1.1</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish.web</groupId>
			<artifactId>jstl-impl</artifactId>
			<version>1.2</version>
		</dependency>
		<dependency>
			<groupId>javax.mail</groupId>
			<artifactId>mail</artifactId>
			<version>1.4.3</version>
		</dependency>
		<dependency>
			<groupId>javax.xml</groupId>
			<artifactId>webservices-api-osgi</artifactId>
			<version>2.0.1</version>
		</dependency>
		<dependency>
			<groupId>org.jboss.weld</groupId>
			<artifactId>weld-osgi-bundle</artifactId>
			<version>1.0.1-SP3</version>
		</dependency>
		<!-- mysql -->
		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<version>5.1.18</version>
		</dependency>
		<!-- hsqldb -->
		<dependency>
			<groupId>org.hsqldb</groupId>
			<artifactId>hsqldb</artifactId>
			<version>2.2.6</version>

		</dependency>

		<!-- hadoop -->
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-core</artifactId>
			<version>1.0.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-common</artifactId>
			<version>0.22.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-common-instrumented</artifactId>
			<version>0.22.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-hdfs</artifactId>
			<version>0.22.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-hdfs-instrumented</artifactId>
			<version>0.22.0</version>
		</dependency>

		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-mapred-instrumented</artifactId>
			<version>0.22.0</version>
		</dependency>

		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-mapred</artifactId>
			<version>0.22.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-streaming</artifactId>
			<version>1.0.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-tools</artifactId>
			<version>1.0.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>libthrift</artifactId>
			<version>0.5.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>zookeeper</artifactId>
			<version>3.3.1</version>
		</dependency>

		<!-- Springframework -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-core</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-expression</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-beans</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-aop</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context-support</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-tx</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-jdbc</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-orm</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-oxm</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-web</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-webmvc</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-webmvc-portlet</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-test</artifactId>
			<version>${org.springframework.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-struts</artifactId>
			<version>${org.springframework.version}</version>

		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-aspects</artifactId>
			<version>${org.springframework.version}</version>

		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-instrument</artifactId>
			<version>${org.springframework.version}</version>

		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-instrument-tomcat</artifactId>
			<version>${org.springframework.version}</version>

		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-jms</artifactId>
			<version>${org.springframework.version}</version>

		</dependency>

		<!-- struts2 -->
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts2-core</artifactId>
			<version>${struts2-version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts2-dojo-plugin</artifactId>
			<version>${struts2-version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts2-dwr-plugin</artifactId>
			<version>${struts2-version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts2-jsf-plugin</artifactId>
			<version>${struts2-version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts2-json-plugin</artifactId>
			<version>${struts2-version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.struts.xwork</groupId>
			<artifactId>xwork-core</artifactId>
			<version>${struts2-version}</version>
		</dependency>

		<dependency>
			<groupId>freemarker</groupId>
			<artifactId>freemarker</artifactId>
			<version>2.3.4</version>
		</dependency>
		<dependency>
			<groupId>asm</groupId>
			<artifactId>asm</artifactId>
			<version>3.3</version>
		</dependency>
		<dependency>
			<groupId>asm</groupId>
			<artifactId>asm-commons</artifactId>
			<version>3.3</version>
		</dependency>
		<dependency>
			<groupId>asm</groupId>
			<artifactId>asm-tree</artifactId>
			<version>3.3</version>
		</dependency>
		<dependency>
			<groupId>antlr</groupId>
			<artifactId>antlr</artifactId>
			<version>2.7.7</version>
		</dependency>
		<dependency>
			<groupId>aopalliance</groupId>
			<artifactId>aopalliance</artifactId>
			<version>1.0</version>
		</dependency>

		<dependency>
			<groupId>classworlds</groupId>
			<artifactId>classworlds</artifactId>
			<version>1.1</version>
		</dependency>
		<dependency>
			<groupId>dwr</groupId>
			<artifactId>dwr</artifactId>
			<version>1.1.3</version>
		</dependency>
		<dependency>
			<groupId>org.apache.velocity</groupId>
			<artifactId>velocity</artifactId>
			<version>1.5</version>
		</dependency>
		<dependency>
			<groupId>ognl</groupId>
			<artifactId>ognl</artifactId>
			<version>3.0.3</version>
		</dependency>


		<!-- hibernate packages -->
		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate-core</artifactId>
			<version>${org.hibernate.version}</version>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>1.6.1</version>
		</dependency>
		<dependency>
			<groupId>javax.transaction</groupId>
			<artifactId>jta</artifactId>
			<version>1.1</version>
		</dependency>
	<dependency>
		<groupId>dom4j</groupId>
		<artifactId>dom4j</artifactId>
		<version>1.6.1</version>
	
	</dependency>
	<dependency>
		<groupId>org.javassist</groupId>
		<artifactId>javassist</artifactId>
		<version>3.15.0-GA</version>
	</dependency>
	<!-- 自己随便写的 -->
	<dependency>
		<groupId>org.hibernate</groupId>
		<artifactId>hibernate-jpa</artifactId>
		<version>1.0</version>
	</dependency>
		<!-- commons packages -->
		<dependency>
			<groupId>commons.commons-beanutils</groupId>
			<artifactId>commons-beanutils</artifactId>
			<version>1.8.3</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-attributes</groupId>
			<artifactId>commons-attributes-api</artifactId>
			<version>2.2</version>
		</dependency>

		<dependency>
			<groupId>commons.commons-attributes</groupId>
			<artifactId>commons-attributes-compiler</artifactId>
			<version>2.2</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-betwixt</groupId>
			<artifactId>commons-betwixt</artifactId>
			<version>0.8</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-chain</groupId>
			<artifactId>commons-chain</artifactId>
			<version>1.2</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-cli</groupId>
			<artifactId>commons-cli</artifactId>
			<version>1.2</version>
		</dependency>

		<dependency>
			<groupId>commons.commons-codec</groupId>
			<artifactId>commons-codec</artifactId>
			<version>1.5</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-collections</groupId>
			<artifactId>commons-collections</artifactId>
			<version>3.2.1</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-configuration</groupId>
			<artifactId>commons-configuration</artifactId>
			<version>1.7</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-daemon</groupId>
			<artifactId>commons-daemon</artifactId>
			<version>1.0.7</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-dbcp</groupId>
			<artifactId>commons-dbcp</artifactId>
			<version>1.4</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-dbutils</groupId>
			<artifactId>commons-dbutils</artifactId>
			<version>1.4</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-discovery</groupId>
			<artifactId>commons-discovery</artifactId>
			<version>0.5</version>
		</dependency>
		<dependency>
			<groupId>commons-el</groupId>
			<artifactId>commons-el</artifactId>
			<version>1.0</version>
		</dependency>
		<dependency>
			<groupId>commons-email</groupId>
			<artifactId>commons-email</artifactId>
			<version>1.2</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-exec</groupId>
			<artifactId>commons-exec</artifactId>
			<version>1.1</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-fileupload</groupId>
			<artifactId>commons-fileupload</artifactId>
			<version>1.2.2</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<version>2.1</version>
		</dependency>

		<dependency>
			<groupId>commons.commons-jelly</groupId>
			<artifactId>commons-jelly</artifactId>
			<version>1.0</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-jexl</groupId>
			<artifactId>commons-jexl</artifactId>
			<version>2.0.1</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-jxpath</groupId>
			<artifactId>commons-jxpath</artifactId>
			<version>1.3</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-lang3</groupId>
			<artifactId>commons-lang3</artifactId>
			<version>3.0.1</version>
		</dependency>

		<dependency>
			<groupId>commons.commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>1.1.1</version>
		</dependency>

		<dependency>
			<groupId>commons.commons-math</groupId>
			<artifactId>commons-math</artifactId>
			<version>2.2</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-modeler</groupId>
			<artifactId>commons-modeler</artifactId>
			<version>2.0.1</version>
		</dependency>


		<dependency>
			<groupId>commons.commons-net</groupId>
			<artifactId>commons-net</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-pool</groupId>
			<artifactId>commons-pool</artifactId>
			<version>1.5.6</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-primitives</groupId>
			<artifactId>commons-primitives</artifactId>
			<version>1.0</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-proxy</groupId>
			<artifactId>commons-proxy</artifactId>
			<version>1.0</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-scxml</groupId>
			<artifactId>commons-scxml</artifactId>
			<version>0.9</version>
		</dependency>

		<dependency>
			<groupId>commons.commons-transaction</groupId>
			<artifactId>commons-transaction</artifactId>
			<version>1.2</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-validator</groupId>
			<artifactId>commons-validator</artifactId>
			<version>1.3.1</version>
		</dependency>
		<dependency>
			<groupId>commons.commons-vfs</groupId>
			<artifactId>commons-vfs</artifactId>
			<version>2.0</version>
		</dependency>
		<!-- lunce -->
		<dependency>
			<groupId>org.apache.lucene</groupId>
			<artifactId>lucene-core</artifactId>
			<version>3.5.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.lucene</groupId>
			<artifactId>lucene-analyzers</artifactId>
			<version>3.5.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.lucene</groupId>
			<artifactId>lucene-highlighter</artifactId>
			<version>3.5.0</version>
		</dependency>
	
	<dependency>
		<groupId>org.apache.lucene</groupId>
		<artifactId>lucene-memory</artifactId>
		<version>3.5.0</version>
	
	</dependency>
		<!-- JUnit -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit-version}</version>
		</dependency>
		<!-- easyMock -->
		<dependency>
			<groupId>easymock</groupId>
			<artifactId>easymock</artifactId>
			<version>2.5.1</version>
		</dependency>
		<!-- httpUnit -->
		<dependency>
			<groupId>httpunit</groupId>
			<artifactId>httpunit</artifactId>
			<version>1.7</version>
		</dependency>

	<dependency>
		<groupId>org.dbunit</groupId>
		<artifactId>dbunit</artifactId>
		<version>2.4.8</version>
	</dependency>
	</dependencies>


	<build>
		<sourceDirectory>${basedir}/src</sourceDirectory>
		<outputDirectory>${basedir}/WebRoot/WEB-INF/classes</outputDirectory>
		<resources>
			<resource>
				<directory>${basedir}/src</directory>
				<excludes>
					<exclude>**/*.java</exclude>
				</excludes>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<artifactId>maven-war-plugin</artifactId>
				<configuration>
					<webappDirectory>${basedir}/WebRoot</webappDirectory>
					<warSourceDirectory>${basedir}/WebRoot</warSourceDirectory>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>

分享到:
评论

相关推荐

    项目加入zookeeper的依赖包(Curator框架)

    在IT行业中,Zookeeper是一个广泛使用的分布式协调服务,由Apache Hadoop项目开发。它提供了一种集中式的、高可用的服务发现、配置管理以及分布式同步功能。而Curator是Facebook开源的一个基于Zookeeper的客户端框架...

    springboot-zookeeper-demo.zip

    Zookeeper是Apache Hadoop的一个子项目,它提供了一种树型的命名空间和分布式同步服务。Zookeeper的主要功能包括:配置管理、命名服务、分布式锁、集群协调等。其核心设计目标是简单、高效和高可用,确保数据的一致...

    hadoop-compile-depend.zip

    同时,根据你的系统环境,可能需要调整Hadoop源码中的配置文件,例如修改`pom.xml`以适应特定的Java版本或特定的依赖版本。 4. **编译过程**:使用Maven的`mvn clean install`命令进行编译。这个命令会清除已有的...

    Hadoop2.4.1上自编译安装HBase0.98.5

    3. 更新Hadoop依赖:编辑`pom.xml`文件,将`&lt;hadoop-two.version&gt;`从2.2.0改为2.4.1,以匹配你的Hadoop版本。 4. 生成POM文件:运行`dev-support/generate-hadoopX-poms.sh`脚本来生成适合Hadoop 2.x的POM文件。 5...

    maven-zookeeper

    在IT行业中,Zookeeper是一个广泛使用的分布式协调服务,由Apache Hadoop项目开发并维护。它为分布式应用程序提供了统一的命名服务、配置管理、集群同步、领导者选举等核心功能。Curator则是Apache Zookeeper的一个...

    第一步-hadoop-hadoop-2.7.3在centos7上部署安装(单机版).zip

    2. **配置HBase**:类似Hadoop,设置HBASE_HOME和HADOOP_CONF_DIR,然后在 `etc/hbase/hbase-site.xml` 中配置HBase的主节点地址和Zookeeper的地址。 3. **启动HBase**:使用 `start-hbase.sh` 启动HBase,验证安装...

    java访问hbase所需的jar包

    在Maven的pom.xml文件中,可以添加如下依赖: ```xml &lt;groupId&gt;org.apache.hbase &lt;artifactId&gt;hbase-client &lt;version&gt;your_hbase_version &lt;groupId&gt;org.apache.hadoop &lt;artifactId&gt;hadoop-client ...

    hadoop-2.6.0-cdh5.14.0-with-windows.rar

    3. **依赖库**:Hadoop运行所需的JAR文件和其他依赖库,这些库可能包含了Hadoop与其它组件(如Zookeeper、Avro、Protobuf等)交互所需的类库。 4. **文档**:可能包括API文档、用户指南、开发者手册等,帮助用户快速...

    使用Java API连接虚拟机HBase并进行数据库操作,Java源代码

    这通常可以通过在`pom.xml`(如果你使用的是Maven)或`build.gradle`(如果你使用的是Gradle)文件中添加HBase的依赖来完成。对于Maven,你可以添加如下依赖: ```xml &lt;groupId&gt;org.apache.hbase &lt;artifactId&gt;...

    Hbase1.3.1源码

    通过Maven的pom.xml文件可以了解项目的依赖关系和构建配置。 2. **Zookeeper依赖**:HBase依赖Zookeeper进行元数据管理和服务发现。在源码中,可以看到与Zookeeper交互的相关类,如`org.apache.hadoop.hbase....

    SpringMVC精品资源--使用Maven构建,整合Dubbo+Zookeeper+SpringMVC+Sprin.zip

    1. 配置Maven项目:在`pom.xml`中添加SpringMVC、Dubbo、Zookeeper等依赖。 2. 配置SpringMVC:创建SpringMVC的配置文件,如`spring-mvc.xml`,设置处理器映射器、视图解析器等。 3. 配置Dubbo:定义服务接口和服务...

    hadoop示例源码

    4. **Hadoop项目结构**:一个典型的Hadoop Maven项目会遵循特定的目录结构,如src/main/java存放源代码,src/main/resources存放资源文件,pom.xml是项目对象模型,定义了项目依赖和构建配置。 5. **Hadoop编程接口...

    eclipe 连接hbase

    如果你使用的是Maven,可以在pom.xml文件中添加如下依赖: ```xml &lt;groupId&gt;org.apache.hbase &lt;artifactId&gt;hbase-client &lt;version&gt;your-hbase-version &lt;!-- 如果你的Hadoop版本不同,可能需要添加对应的...

    在集群中java 通过调用API操作HBase 0.98

    对于HBase 0.98,你需要在`pom.xml`或构建脚本中包含相应的Maven依赖: ```xml &lt;groupId&gt;org.apache.hbase &lt;artifactId&gt;hbase-client &lt;version&gt;0.98.x ``` 请注意,这里的`x`应替换为实际的修订版本号。 在...

    phoenix安装教程

    5. 修改pom.xml文件,配置HBase、Hadoop、Pig等版本 6. 执行mvn clean install –DskipTests,生成Phoenix安装包 三、环境变量设置 1. 在/etc/profile文件中添加环境变量: export PHOENIX_HOME=/opt/apache-...

    Zookeeper 源代码编译导入Eclipse

    Zookeeper是一款分布式协调服务,广泛应用于分布式计算领域,如Hadoop、HBase等。源代码编译对于开发者来说,能够深入了解其内部工作原理,便于定制化开发和问题排查。本篇将详细介绍如何编译Zookeeper源代码并导入...

    java集成hadoop-hbase用到的jar包

    如果使用Maven,可以在pom.xml文件中添加对应的依赖项。如果使用Gradle,可以在build.gradle文件中声明。 总的来说,Java集成Hadoop-HBase涉及到一系列的jar包,包括Hadoop和HBase的客户端库、ZooKeeper以及其他...

    zookeeper和dubbo简单例子

    在各自的`pom.xml`文件中添加对Dubbo、Zookeeper客户端等相关依赖。 2. **定义服务接口**:在`dubbo-Service`项目中,定义服务接口及其实现。例如,我们可以有一个`HelloService`接口,包含`sayHello`方法。 3. **...

    java连接hbasejar包

    在Maven的pom.xml文件中,可以添加如下依赖: ```xml &lt;groupId&gt;org.apache.hbase &lt;artifactId&gt;hbase-client 具体版本号 &lt;groupId&gt;org.apache.zookeeper &lt;artifactId&gt;zookeeper 具体版本号 &lt;!-- ...

    Hadoop2.5.1 源码编译文档+所需软件打包

    4. **配置Hadoop**:在源码目录下找到`conf`文件夹,根据你的系统环境配置`build.xml`或`pom.xml`文件。这可能包括设置Java版本、指定编译目标平台和其他编译选项。 5. **编译源码**:运行`mvn clean package`或`...

Global site tag (gtag.js) - Google Analytics