我正在使用带有LDAP身份验证的Omnibus GitLab CE系统.
由于LDAP身份验证,我公司的任何人都可以登录GitLab并创建与此用户关联的新GitLab用户帐户(根据我的理解).
我想修改它,以便默认情况下这个新用户(可以根据其LDAP凭据自动登录)无法创建新项目.
然后,作为管理员,我可能会处理大多数新项目的创建.
我可能会给一些特殊用户授予Create Project权限.
因此,我想做的是自动化我的 JMeter 测试过程,为此,我使用 Cargo 部署到 Tomcat 容器并在那里运行 JMeter 脚本,并使用基于以下描述的 pom:- http: // /www.alexecollins.com/content/jmeter-integration-test-template-pom/ 之后,我付出了很多努力才让它工作。
但是,现在当然为了测试我想使用 testdb 而不是我的实际数据库,为此我需要一个自定义 context.xml (而不是我的生产 context.xml ,一切都可以使用),其中使用 jndi 我定义 jdbc 参数。
因此,我计划有一个 testcontext.xml,我将货物复制到容器中,同时使用货物的复制配置文件选项之类的东西运行 JMeter 测试 - http://cargo.codehaus.org/Custom+File+Configurations。但它似乎不起作用。我已经调试了几个小时了,但无法弄清楚。
我正在粘贴 test-depolyer 模块的 pom 文件,该模块具有要在此处部署的所有其他模块的依赖项:-
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>com.parentname</groupId>
<artifactId>product-services</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>com.parentname.product-services</groupId>
<artifactId>test-deployer</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<dependencies>
<dependency>
<groupId>com.parentname.product-services</groupId>
<artifactId>product1-webapp</artifactId>
<version>0.0.1-SNAPSHOT</version>
<type>war</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>default</id>
<phase>clean</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<configuration>
<tasks>
<delete …Run Code Online (Sandbox Code Playgroud) 当我运行 Hive 语句并启动相应的 MR 作业时,它通常具有如下行:
Stage-Stage-1:地图:33减少:131累积CPU:8006.47秒HDFS读取:1280804751 HDFS写入:279261996966成功
MapReduce CPU 总花费时间:0 天 2 小时 13 分 26 秒 470 毫秒
我对解释这句话有一些疑问。