ceph-1 ~]# ceph osd pool create test-1 128 pool 'test-1' created [root@ceph-1 ~]# ceph osd pool create test -2 128 pool 'test-2' created 在test-1上创建一个image,test-2不做任何操作 [root@ceph-1 ~]# rbd create volume1 --size pg_num 128 pgp_num 128 last_change 309 flags hashpspool stripe_width 0 removed_snaps [1~3] pool 15 'test -1 snap1 Error EINVAL: pool test-1 is in unmanaged snaps mode [root@ceph-1 ~]# ceph osd pool mksnap test -2 snap2 created pool test-2 snap snap2 可以看出,创建了image的存储池无法再创建存储池快照了,因为存储池当前已经为unmanaged snaps mode了,
number2"); cardNum2.add("number3"); cardNum2.add("number4"); MyBean myBean2=new MyBean("number-2", "test number-1","name":"test-1"}, {"cardNum":["number1","number2","number3","number4"],"id":"number-2","name":"test number2"); cardNum2.add("number3"); cardNum2.add("number4"); MyBean myBean2=new MyBean("number-2", "test jsonResult, MyBean.class); System.out.println(myBeanResult.getName()); } } } 运行结果如下: test-1 test
2.3.3 调用请求 http://localhost:8080/async/task 2.3.4 模拟重启 kill -2 应用pid 复制代码 2.3.5 现象 Exception in thread "test com.boot.example.ShutDownController : task execute complete... 2021-12-09 17:09:40.055 INFO 22383 --- [ test com.boot.example.ShutDownController : task execute complete... 2021-12-09 17:09:50.060 INFO 22383 --- [ test com.boot.example.ShutDownController : task execute complete... 2021-12-09 17:10:00.062 INFO 22383 --- [ test
1、使用目录创建 在我们的 configmap-map 文件夹下有两个文件分别为: test-1 与 test-2 里面的内容分别为: cat test-1 : enemies=aliens lives noGoodRotten secret.code.passphrase=UUDDLRLRBABAS secret.code.allowed=true secret.code.lives=30 cat test 创建完成后我们来看一下信息: 通过命令 kubectl get configmaps zutuanxue -o yaml 查看一下完整的信息: 图片 2、使用文件创建 我们依然使用 test-1 与 test -2 这两个文件 kubectl create configmap zutuanxue-1 --from-file=configmap-test/test-2 # —from-file 这个参数可以使用多次
; Thread t1 = new Thread(threadTest, "TEST-1"); Thread t2 = new Thread(threadTest, "TEST Thread.sleep(1L); t2.start(); t1.join(); } } 上述这段代码,TEST-1线程应该是TimeWaiting,TEST
图8 Test-1 (a) 和 Test-2 (b) 序列的事件密度 在图 9 中,我们比较了 Default (a)、LoL+ (b) 和 CAPSC (c) 算法的延迟、缓冲区占用率和播放速度性能。 对于 Test-1 和 Test-2 序列,我们分别关注 150 和 230 秒以及 275 和 300 秒之间的间隔,其中图 8 中的事件密度也被覆盖。 图9 默认情况下,LoL+ 和 CAPSC 在 Test-1 和 Test-2 序列上进行的测试 我们观察到,当事件密度为 0 时,LoL+ 和 CAPSC 算法的行为相似。 另一方面,图 4b 放大了 Test-2 序列的 284 到 288 秒的间隔,我们观察到了一个有趣的结果。 图10 Test-1 (a) 和 Test-2 (b) 序列的播放速度。
+-------------+--------------------+--------------------+--------------------+ | default | test -+------------+--------------------+--------------------+--------------------+ | default | test 同步数据,那还应该带上 ticdc_cluster_id,如: select max(primary_ts ) from tidb_cdc.syncpoint_v1 where changefeed=’test -2’select max(primary_ts ) from tidb_cdc.syncpoint_v1 where changefeed=‘test-2’and ticdc_cluster_id=‘
cluster-dev - type: containe enabled: true paths: - /var/log/containers/\*\_test -2\_\*log fields: namespace: test-2 env: dev k8s: cluster-dev dev k8s: cluster-dev - type: containe enabled: true paths: - /var/log/containers/\*\_test -2\_\*log fields: namespace: test-2 env: dev k8s: cluster-dev 这种写法有一个不好的地方就是,如果命名空间比较多 -2\_\*log fields: namespace: test-2 env: dev k8s: cluster-dev
height: 10px*$i; background-color: gray;} } 输出为: .test-1 { height: 10px; background-color: gray; } .test
有时候我们需要在若干台linux主机上执行相同的命令,或者安装相同的软件,可以使用如下两种方法: 实验环境,有9台RHEL5.5_x64的主机,host表如下: test-1 10.9.1.1 test //默认的组,也可以使用-g参数指定不同的主机组 @test group test () +test-1 +test
spring-application</source> <type>${type.name}</type> <host>localhost</host> <key>logstash:redis</key> <tags>test
table test-docker Took 1.4964 seconds => Hbase::Table - test-docker hbase(main):002:0> list TABLE test test
语法:insert [into] 表名1 [字段1,字段n] select [字段1,字段n] from 表名2 [where语句]; insert into test-1 select * from test -2; insert into test-1(pid,name) select pid,name from test-2; 2.2 delete 删除记录 语法:delete from 表名 [where
throw new ConcurrentModificationException(); } } @Override//测试见:Test (),iterator最后返回的元素为a,移除之 iterator.remove(); System.out.println(aList);//[b, c] ---- Test
="test-1"; insert into tb_person set name="person_2", address="beijing", sex="man", other="test -----+ | 6 | person_1 | beijing | man | test-1 | | 7 | person_2 | beijing | man | test -----+ | 6 | person_1 | beijing | man | test-1 | | 7 | person_2 | beijing | man | test
"/bin/sh","-c","sleep 6000s"] imagePullPolicy: IfNotPresent volumeMounts: - mountPath: /test
="test-1"; insert into tb_person set name="person_2", address="beijing", sex="man", other="test -----+ | 6 | person_1 | beijing | man | test-1 | | 7 | person_2 | beijing | man | test -----+ | 6 | person_1 | beijing | man | test-1 | | 7 | person_2 | beijing | man | test
名称部分是用以标识记录的名称(例如FAULTI 或 TEST-2),文件名的“扩展名”部分用以标识文件类型.HDR表示头文件.CFG表示配置文件,.DAT表示数据文件,.INF表示信息文件。
Jenkins、maven、jdk、tomcat、git 发布服务器 4GB/4个 Gitlab 192.168.200.2 GItlab、Jdk、tomcat 代码存储/测试机-1 4GB/4个 Test 3: Test-2重复测试机-1安装即可 (不再演示test-2测试机安装) 4: Jenkins新建一个maven项目 4.1: 安装maven插件 ? ?
5 ……………… 6 drwxrwxr-x 2 yun yun 141 Sep 15 18:53 test-1 7 drwxrwxr-x 2 yun yun 141 Sep 15 18:53 test ……………… 6 drwxrwxr-x 2 yun yun 141 Sep 15 18:53 test-0 7 drwxrwxr-x 2 yun yun 141 Sep 15 18:53 test