profile
viewpoint
hengyunabc hengyunabc Alibaba http://hengyunabc.github.io/ 横云断岭, Spring Boot, APM, Arthas, Dubbo 微信公众号:横云断岭的专栏

alibaba/arthas 19448

Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器Arthas

hengyunabc/common-toolkit 3

common toolkit

chickenlj/incubator-dubbo 2

Apache Dubbo (incubating) is a high-performance, java based, open source RPC framework.

hengyunabc/arthas 2

Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器Arthas

hengyunabc/abu 1

阿布股票量化系统

push eventalibaba/arthas

hengyunabc

commit sha 4afddd8ab53a631e299697e7df817decaedf4e7c

fix resource not close problem. close #1023

view details

push time in 2 days

issue closedalibaba/arthas

资源未释放:流

https://github.com/alibaba/arthas/blob/31ed34620241ad8156ed9496dfa272cacafbf4c3/core/src/main/java/com/taobao/arthas/core/util/NetUtils.java#L36

程序可能无法释放系统资源。

closed time in 2 days

QiAnXinCodeSafe

issue closedalibaba/arthas

class-pattern如何过滤代理类?

class-pattern如何过滤代理类?

closed time in 2 days

tonfay

issue commentalibaba/arthas

class-pattern如何过滤代理类?

可以试下用正则过滤掉。 -E 参数。

tonfay

comment created time in 2 days

issue commentalibaba/arthas

dump -E这个参数怎么使用,没有看懂

dump -h 帮助信息和wiki文档都很清楚,表示用正则表达式来匹配。

dump -E org.slf4j.* 这个命令会报错,提示没有传class-pattern dump org.slf4j.* 先忽略超过了默认的限制5个的问题,这个class-pattern已经是正则了。

也就是说如果我想导出符合条件的类字节码,完全可以通过class-pattern实现,那-E指定的正则又是做啥呢?

这里的确有问题,是上游cli依赖的bug,加上flag=true 才能生效。 目前要显式配置,比如

dump -E true org\\.apache\\.commons\\.lang\\.StringUtils

默认只是 ., * 的通配,并不是正则。

aitangyong

comment created time in 2 days

push eventalibaba/arthas

hengyunabc

commit sha 42d695de715d8111844dc099dede6bd465d2dfc3

fix dump -E option support. #1028

view details

push time in 2 days

IssuesEvent

push eventalibaba/arthas

hengyunabc

commit sha f5f7583c98ed1a21d58219c9ced4fa94c510e3eb

add perfcounter command. #1029

view details

push time in 2 days

issue openedalibaba/arthas

Support print PerfCounter

jcmd $pid PerfCounter.print

created time in 3 days

issue closedalibaba/arthas

dump -E这个参数怎么使用,没有看懂

  • [ ] 我已经在 issues 里搜索,没有重复的issue。

环境信息

  • arthas-boot.jar 或者 as.sh 的版本: as.sh
  • Arthas 版本: 3.1.7
  • 操作系统版本: centos
  • 目标进程的JVM版本: 1.8
  • 执行arthas-boot的版本: 3.1.7

重现问题的步骤

  1. dump -E 这个正则是做什么的呢?什么场景下有用呢
  2. 如果只是dump符合条件的类,class-pattern也支持

期望的结果

What do you expected from the above steps?

实际运行的结果

实际运行结果,最好有详细的日志,异常栈。尽量贴文本。

把异常信息贴到这里

closed time in 3 days

aitangyong

issue commentalibaba/arthas

dump -E这个参数怎么使用,没有看懂

dump -h 帮助信息和wiki文档都很清楚,表示用正则表达式来匹配。

aitangyong

comment created time in 3 days

issue closedalibaba/arthas

support yaml configuration

由于.yaml较流行,很多工程师在使用,更友好。

用户配置也可以写在.yaml中,进行二次开发。 参考spring boot中的: https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-external-config-yaml

(项目其他地方也可以使用yaml配置,利用snakeYaml解析)

closed time in 3 days

Roger3581321

issue commentalibaba/arthas

support yaml configuration

这个要增加新的依赖。对于java应用来说,properties还是最常用的配置方式。有必要才考虑加yaml的支持。

Roger3581321

comment created time in 3 days

issue closedalibaba/arthas

生成火焰图输入命令:profiler start,提示:Can not find libasyncProfiler so, please check the arthas directory.

  • [ ] 我已经在 issues 里搜索,没有重复的issue。

环境信息

  • arthas-boot.jar 或者 as.sh 的版本: 3.1.7
  • Arthas 版本: 3.1.7
  • 操作系统版本: linux centos7.0
  • 目标进程的JVM版本: 1.8.0_181
  • 执行arthas-boot的版本: 3.1.7

如题:提示找不到libasyncProfiler so,但是安装包目录中有,是需要做什么配置吗?

closed time in 3 days

mayanyun1986

issue closedalibaba/arthas

依赖jar无法找到

core模块中pom.xml引用

        <dependency>
            <groupId>com.alibaba.arthas</groupId>
            <artifactId>arthas-repackage-logger</artifactId>
        </dependency>

这个依赖无法找到,导致无法编译。

closed time in 3 days

jiangwh

issue commentalibaba/arthas

依赖jar无法找到

CI 已经编译通过了,应该是没问题的。 仓库里也有: http://search.maven.org/classic/#search%7Cga%7C1%7Ca%3A%22arthas-repackage-logger%22

jiangwh

comment created time in 3 days

issue commentalibaba/arthas

logger命令修改log level时出错

@zhugw 欢迎提交pr改进文档

xiuqianli1996

comment created time in 5 days

issue closedalibaba/arthas

Can not read maven-metadata.xml through http

http://repo1.maven.org/maven2/com/taobao/arthas/arthas-packaging/maven-metadata.xml

501 HTTPS Required. 
Use https://repo1.maven.org/maven2/
More information at https://links.sonatype.com/central/501-https-required

Only support https now:

https://repo1.maven.org/maven2/com/taobao/arthas/arthas-packaging/maven-metadata.xml

closed time in 5 days

hengyunabc

push eventalibaba/arthas

hengyunabc

commit sha 4e771e2a7d90aa24dd7c5d500d837d699b94d0af

fix testcase. #1025

view details

push time in 5 days

issue openedalibaba/arthas

Can not read maven-metadata.xml

http://repo1.maven.org/maven2/com/taobao/arthas/arthas-packaging/maven-metadata.xml

501 HTTPS Required. 
Use https://repo1.maven.org/maven2/
More information at https://links.sonatype.com/central/501-https-required

Only support https now:

https://repo1.maven.org/maven2/com/taobao/arthas/arthas-packaging/maven-metadata.xml

created time in 5 days

push eventalibaba/arthas

hengyunabc

commit sha 3da99d5ba5081bcc743bbca2077bb1da3135a4d5

support arthas.properties. #986

view details

push time in 5 days

push eventalibaba/arthas

hengyunabc

commit sha 6e39e74ce6e551bb41213b469f03f97d3301d1fd

update index.md

view details

hengyunabc

commit sha 4937b99d1259c05906e386079c248447049b5bc6

support ArthasEnvironment. #986

view details

push time in 5 days

startedalibaba/arthas

started time in 11 days

GollumEvent

push eventalibaba/arthas

hengyunabc

commit sha 339fe8226d032eeffa11fe4aeb682a2dea705377

update doc

view details

push time in 12 days

startedalibaba/arthas

started time in 12 days

issue openedapache/dubbo

[Disscuss]dubbo对protobuf 序列化严格只支持protobuf生成的类型

以gRPC为例,只支持pb生成的类型,不支持pb里定义的原生类型,如int32/string 等。

比如下面的gRPC配置是不合法的,不能返回int32,要定义包装一层:

// The test service definition.
service Test {
  // Sends a greeting
  rpc SayHello (HelloReply) returns int32;
}

目前dubbo里pb支持了原始类型,但 map只支持 <String,String>

  1. 这样子对于用户来说是很困惑的,为啥 map只能是<String,String>
  2. 目前没有太好的办法解决所有的类型问题,可能到最终也没有办法解决

所以,建议dubbo里去掉原始类型的支持,和gRPC类似,只支持pb生成的类型。

  1. 本质上rpc函数的参数和返回值,都是一个pb定义的对象,它是有tag的,它里面是可以增加/废弃字段的。如果只有原始类型的话,那么就没有tag了
  2. gRPC本身不支持pb里的原始类型,说明gRPC本身知道里面的坑
  3. 用pb本身的方式来包装一下,对性能来说,没有损失

created time in 14 days

push eventapache/dubbo

huazhongming

commit sha 72eaf04c1ae61faf830898b565cc05c2f6478f3e

[Enhancement] JsonRpcProtocol support Generalization #4595 (#4596)

view details

push time in 14 days

PR merged apache/dubbo

[Enhancement] JsonRpcProtocol support Generalization #4595

What is the purpose of the change

JsonRpcProtocol support Generalization #4595

Brief changelog

XXXXX

Verifying this change

XXXXX

Follow this checklist to help us incorporate your contribution quickly and easily:

  • [x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • [ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
  • [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • [ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
  • [ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
  • [ ] If this contribution is large, please follow the Software Donation Guide.
+265 -74

3 comments

4 changed files

CrazyHZM

pr closed time in 14 days

pull request commentapache/dubbo

[Enhancement] JsonRpcProtocol support Generalization #4595

@CrazyHZM 这个 dubbo.attachments 是什么用途的?没看到有取出使用的地方。是从 RmiRemoteInvocation 里来的?

CrazyHZM

comment created time in 15 days

pull request commentapache/dubbo

[Dubbo-5382] fix up&down command judgment error

@LiZhenNet 具体在什么平台,什么终端下测试通过的? 我在mac下面输入没有响应。 https://github.com/apache/dubbo/issues/5382#issuecomment-581823066

LiZhenNet

comment created time in 15 days

issue closedapache/dubbo

Hutool DateTime Value is changed current time

Environment

  • Dubbo version: 2.7.4.1
  • Operating System version: win10
  • Java version: 1.8.212

Steps to reproduce this issue

https://www.hutool.cn/ cn.hutool.core.date.DateTime

1 2

closed time in 15 days

SmileTower

issue commentapache/dubbo

Hutool DateTime Value is changed current time

先 close 掉。

SmileTower

comment created time in 15 days

issue closedapache/dubbo

无法设置DUBBO_IP_TO_REGISTRY=127.0.0.1

环境

  • Dubbo version: 2.7.3
  • Operating System version: MacOS
  • Java version: Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)

问题

  • 设置DUBBO_IP_TO_REGISTRY=127.0.0.1失败
  • 源码里禁用里本机回环地址
/*org.apache.dubbo.common.utils.NetUtils */
   public static boolean isInvalidLocalHost(String host) {
        return host == null
                || host.length() == 0
                || host.equalsIgnoreCase(LOCALHOST_KEY)
                || host.equals(ANYHOST_VALUE)
                || (LOCAL_IP_PATTERN.matcher(host).matches());
    }

希望得到的帮助

  • 支持设置本机回环地址,方便开发调试.

closed time in 15 days

redwolf2019

issue commentapache/dubbo

dubbo telnet UP DOWN 按键处理失效

我觉得这个 UP/DOWN 支持可以考虑去掉,因为在不同的平台,不同的软件差异是很大的。

以 jline 为例 https://github.com/jline/jline3 ,实际上要有一些native handler的处理才生效。

我在mac下面测试 item2 和原生的 terminal 都不支持输入 UP/DOWN 。

Yangjianbin

comment created time in 15 days

issue commentalibaba/arthas

trace无法查看经过cglib加强之前的代码执行情况

最好有可重现的demo

18518933040

comment created time in 15 days

issue commentalibaba/arthas

Better way to get file from URL

您好,横云断岭老师,我先把ArthasReflectUtils里的.getFile()参考stackoverflow里方法更改了: 原来:String filePath = URLDecoder.decode(url.getFile(), "UTF-8"); 更改后:String filePath = Paths.get(url.toURI()).toFile().getPath(); 请您看一下。

arthas要支持 jdk6,不能用 Paths的API

hengyunabc

comment created time in 16 days

issue commentalibaba/arthas

管道命令没有在stat统计数据中

@Roger3581321 管道是工作的,这里指的是 回报服务里,没有统计到管道后面的命令

hengyunabc

comment created time in 16 days

issue closedalibaba/arthas

tt -i 命令结果中,函数的参数 int类型变成Integer类型

  • [ ] 我已经在 issues 里搜索,没有重复的issue。

环境信息

  • arthas-boot.jar 或者 as.sh 的版本: 3.1.8-SNAPSHOT
  • Arthas 版本: 3.1.8-SNAPSHOT
  • 操作系统版本: WIN10
  • 目标进程的JVM版本: 1.8.0_231
  • 执行arthas-boot的版本: 3.1.8-SNAPSHOT

重现问题的步骤

  1. java -jar arthas-boot.jar
  2. tt -t com.unitspirit.* *
  3. tt -i 1019

期望的结果

PARAMETERS[0] @int[12]

实际运行的结果

PARAMETERS[0] @Integer[12]

实际运行结果,最好有详细的日志,异常栈。尽量贴文本。

[arthas@4396]$ tt -i 1019 INDEX 1019 GMT-CREATE 2020-01-30 10:22:54 COST(ms) 4.3462 OBJECT 0x4524411f CLASS com.unitspirit.sqp.tt.samples.Job METHOD doAddpublic IS-RETURN true IS-EXCEPTION false PARAMETERS[0] @Integer[12] PARAMETERS[1] @String[public] PARAMETERS[2] @Long[11] PARAMETERS[3] @Job[ log=@Logger[com.unitspirit.sqp.tt.samples.Job:DEBUG in 73d16e93], x=@Integer[1], str=@String[job], ] PARAMETERS[4] @Main[ log=@Logger[agent.Main:DEBUG in 73d16e93], x=@Integer[1], y=@Integer[2], ] PARAMETERS[5] @Double[0.11] RETURN-OBJ @Integer[14] Affect(row-cnt:1) cost in 5 ms. 把异常信息贴到这里

PARAMETERS[0] @Integer[12] 这个地方源码对应的是int 类型,从tt -i 看过来,类型发生变化

closed time in 20 days

wupflove

issue commentalibaba/arthas

tt -i 命令结果中,函数的参数 int类型变成Integer类型

因为增强的字节码里,把params等传到后面是Object,最终展示出来就是 Integer了

wupflove

comment created time in 20 days

issue commentalibaba/arthas

在webclome 信息里打印出arthas listen的端口

谢谢支持,因为目前在做 arthas外部配置 的支持,所以到时会统一处理,先不合相关的PR。

hengyunabc

comment created time in 22 days

Pull request review commentalibaba/arthas

Three minor code enhancements

     private String state;      {-        states = new HashSet<String>(8);+        states = new HashSet<String>(State.values().length);

这里意义不大,因为最终应该就是8,不需要再算了。

Roger3581321

comment created time in 22 days

Pull request review commentalibaba/arthas

Three minor code enhancements

                     + "arthas" + File.separator);             if (!arthasLogDir.exists()) {                 arthasLogDir.mkdirs();-            }-            if (!arthasLogDir.exists()) {

这里判断逻辑是不一样的,不能合并。

Roger3581321

comment created time in 22 days

issue commentalibaba/arthas

Rename package from com.taobao.arthas to com.alibaba.arthas

Dear all, I have tried renaming package from com.taobao.arthas to com.alibaba.arthas by using IDEA refactor. It could finish this task successfully. But it may not be reverted. So, we should be cautious due to a large number of code changes. .

谢谢支持,不过目前修改package这里不接受PR,后续可能会在3.0里改掉。

hengyunabc

comment created time in 22 days

issue commentalibaba/arthas

生成火焰图输入命令:profiler start,提示:Can not find libasyncProfiler so, please check the arthas directory.

贴出具体的信息,也有一个参数可以指定 so文件加载的。 profiler -h 看下

mayanyun1986

comment created time in 22 days

issue closedalibaba/arthas

我想要监控线上应用所有代码的执行覆盖率,通过一定时间,检测dead code,arthas能实现吗?

我想要监控线上应用所有代码的执行覆盖率,通过一定时间,检测dead code,arthas能实现吗?

closed time in a month

Ted-Engineer

issue commentalibaba/arthas

我想要监控线上应用所有代码的执行覆盖率,通过一定时间,检测dead code,arthas能实现吗?

不能。用 jcoco agent之类的 https://www.eclemma.org/jacoco/trunk/doc/agent.html

Ted-Engineer

comment created time in a month

issue closedalibaba/arthas

Arthas 对于老项目一些方法很长报错问题

  • [ ] 我已经在 issues 里搜索,没有重复的issue。

环境信息

  • arthas-boot.jar 或者 as.sh 的版本:最新版本
  • Arthas 版本: xxx
  • 操作系统版本: centos
  • 目标进程的JVM版本: 1.8
  • 执行arthas-boot的版本: xxx

运行trace,watch ,statck 报错:No class or method is affected . 查看日志报错如下: org.objectweb.asm.MethodTooLargeException:Method too large. 这个有什么后续能够兼容的处理嘛?还是必须要拆分方法?

closed time in a month

ezrio

pull request commentalibaba/arthas

质因式 -> 质因数

Thanks.

fanofxiaofeng

comment created time in a month

push eventalibaba/arthas

靳阳

commit sha 31ed34620241ad8156ed9496dfa272cacafbf4c3

fix typo (#1009)

view details

push time in a month

PR merged alibaba/arthas

质因式 -> 质因数

质因式 -> 质因数 image

+1 -1

0 comment

1 changed file

fanofxiaofeng

pr closed time in a month

issue commentalibaba/arthas

修改注解Redefine成功,但实际执行未生效

https://alibaba.github.io/arthas/redefine.html 中提到“redefine命令和jad/watch/trace/monitor/tt等命令会冲突。执行完redefine之后,如果再执行上面提到的命令,则会把redefine的字节码重置。 原因是jdk本身redefine和Retransform是不同的机制,同时使用两种机制来更新字节码,只有最后修改的会生效。” 但其实是之前的jad/watch/trace/monitor/tt把class做了缓存,所以导致再次执行jad/watch/trace/monitor/tt时之前缓存的class会把redefine的字节码重置,而不是文档中描述的直接由jdk本身redefine和Retransform是不同的机制引起的 ?

有没有缓存都不影响这个结论,看jdk本身的javadoc说明。

hechuan73

comment created time in a month

issue closedalibaba/arthas

--attach-only是个什么命令?其作用是什么?

请问一下--attach-only是个什么命令,像个后台执行arthas一样,日志打印不够详细,不知道是否正attach到了进程. 帮助文档也没有一个详细的说明,看不懂该命令的作用,有人知道怎么用这个命令吗? 个人尝试了一下,执行后就跳出attach的控制界面了.

closed time in a month

cookiejoo

issue commentalibaba/arthas

--attach-only是个什么命令?其作用是什么?

这个参数设计出来就这个作用,不考虑其它的问题。任何操作都有可能失败的。

cookiejoo

comment created time in a month

issue commentalibaba/arthas

--attach-only是个什么命令?其作用是什么?

只 attach,不启动 telnet去连接。 比如只想启动 webconsole的端口,然后用户再用浏览器去连接。

cookiejoo

comment created time in a month

push eventapache/dubbo-samples

hengyunabc

commit sha c19f0118adc70fd2bd6837e99d697e46d7dbf2c3

fix dubbo-samples-thrift-impl

view details

push time in a month

push eventapache/dubbo-samples

hengyunabc

commit sha 3aa05bbe4f9cb51e5ed76adfb77cb3be4e11b477

update .gitignore

view details

push time in a month

push eventapache/dubbo-samples

hengyunabc

commit sha b89420a2e9f0a9256c69f728856a808c2949e555

fix dubbo-samples-grpc

view details

hengyunabc

commit sha 83cd1d786d8cd58a0a5462c92c1a31b94e6d51e3

Merge branch 'master' of github.com:apache/dubbo-samples

view details

push time in a month

push eventhengyunabc/dubbo-samples

hengyunabc

commit sha b89420a2e9f0a9256c69f728856a808c2949e555

fix dubbo-samples-grpc

view details

hengyunabc

commit sha 83cd1d786d8cd58a0a5462c92c1a31b94e6d51e3

Merge branch 'master' of github.com:apache/dubbo-samples

view details

push time in a month

fork hengyunabc/dubbo-samples

samples for Apache Dubbo

fork in a month

issue closedapache/dubbo

0.2.0 版本UI启动有webpack兼容问题,0.1没问题

Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>' at Module.eval (webpack-internal:///./node_modules/webpack-dev-server/client/clients/BaseClient.js:26) at eval (webpack-internal:///./node_modules/webpack-dev-server/client/clients/BaseClient.js:42) at Module../node_modules/webpack-dev-server/client/clients/BaseClient.js (app.js:7498)

closed time in a month

SpringRen

issue commentapache/dubbo

0.2.0 版本UI启动有webpack兼容问题,0.1没问题

可以到这里建issue: https://github.com/apache/dubbo-admin/issues

SpringRen

comment created time in a month

issue commentapache/dubbo

无法设置DUBBO_IP_TO_REGISTRY=127.0.0.1

这个的确不是很友好,但是也是可以理解的,防止出错。 开发时可以设置为本机的其它ip。

redwolf2019

comment created time in a month

issue commentapache/dubbo

Hutool DateTime Value is changed current time

是序列化结果有问题?请详细说明。

SmileTower

comment created time in a month

PR closed apache/dubbo

Reviewers
Skip integration tests by default

What is the purpose of the change

1.Some UTs need docker, we should provider -DnoDocker=true to skip these tests.

2.Download consul from 'https://releases.hashicorp.com/consul/' will be very slow, we should provider -DnoConsul=true to skip these consul tests.

3.We should provider -DnoProtobuf=true to skip downloading and installing protoc-gen-dubbo-java.

Brief changelog

dubbo-configcenter/dubbo-configcenter-etcd/pom.xml dubbo-metadata/dubbo-metadata-report-etcd/pom.xml dubbo-registry/dubbo-registry-consul/pom.xml dubbo-remoting/dubbo-remoting-etcd3/pom.xml

Verifying this change

XXXXX

Follow this checklist to help us incorporate your contribution quickly and easily:

  • [x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • [ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
  • [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • [ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
  • [ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
  • [ ] If this contribution is large, please follow the Software Donation Guide.
+66 -0

4 comments

4 changed files

zhaixiaoxiang

pr closed time in a month

pull request commentapache/dubbo

Skip integration tests by default

Merged with polish commit: https://github.com/apache/dubbo/pull/5614

zhaixiaoxiang

comment created time in a month

push eventapache/dubbo

zhaixiaoxiang

commit sha 84c80b90499553dae67cd1d76e97fc6cb2d2ed6f

skip integration test by default. (#5421)

view details

hengyunabc

commit sha f790ec2563ee18e756e718ceb8c78c1f403466e1

polish #5421

view details

push time in a month

PR merged apache/dubbo

[Dubbo-5421] skip integration test by default

polish #5421

+63 -1

1 comment

5 changed files

hengyunabc

pr closed time in a month

PR opened apache/dubbo

[Dubbo-5421] skip integration test by default

polish #5421

+63 -1

0 comment

5 changed files

pr created time in a month

push eventhengyunabc/dubbo

hengyunabc

commit sha 1ec293bf7ffc41d184883d051192c4452367d0f4

clean duplicate maven-surefire-plugin version config

view details

zhaixiaoxiang

commit sha 26036073117e4c2901709c3959cbc4d95c87b45d

skip integration test by default. (#5421)

view details

hengyunabc

commit sha c735349061e220532839128226a26710f8884588

polish #5421

view details

push time in a month

create barnchhengyunabc/dubbo

branch : skip_integration_test

created branch time in a month

push eventapache/dubbo

hengyunabc

commit sha 1ec293bf7ffc41d184883d051192c4452367d0f4

clean duplicate maven-surefire-plugin version config

view details

push time in a month

PR opened apache/dubbo

clean duplicate maven-surefire-plugin version config
+1 -2

0 comment

1 changed file

pr created time in a month

push eventhengyunabc/dubbo

hengyunabc

commit sha 480447674fb23d1d58406d469cd578306145369a

clean duplicate maven-surefire-plugin version config

view details

push time in a month

push eventhengyunabc/dubbo

hengyunabc

commit sha 1cd9b6aada32a7e696584a5f77303ba1ce9cffbf

fix netty server Option.SO_REUSEADDR config. (#5473)

view details

LinShunKang

commit sha 0948135e7ba9c7a85d9789a95df106c3a4617c83

fix: StringUtils.split(String, char) not correct for input "d,1,2,4", 'a' (#5460)

view details

虫二

commit sha 00febe9e3cb450737d403a937322dc08ab5c6f2a

InstanceInfo.InstanceStatus should be OUT_OF_SERVICE when unregister (#5469)

view details

LiosWong

commit sha 839d2a604e629ea9e96b964be09ae221e85312ba

Fix a typo: warped

view details

LiosWong

commit sha 7a90ab929a9d8b00179aa904469df1f7462497d8

code optimization (#5486) fix wrong words.

view details

LiosWong

commit sha c2c772e1a13fd95c2b53728e5cd6e45d9a3a8ae6

fix typo:fro (#5488) fix typo

view details

ken.lj

commit sha f89a1a8dadb419a06494433ed53b9a35f69c36dc

Some changes encompass ExtensionLoader, AsyncResult and ServiceMetadata (#5494)

view details

ken.lj

commit sha 10e22bad63b5f263cf45a7be120a58a89ad44a8c

add all-in-one dependency to dubbo bom file. (#5499)

view details

ken.lj

commit sha 2f62b273ceb20772d0734da03c1fd12ad465fcd6

protocols/protocolIds and registries/registryIds, make sure only one can work (#5497)

view details

withthewind

commit sha d4d016b605c04d3aa911b31cd90fae768e3c5ecb

optimize: replace literal string value with Constant Variable (#5352)

view details

lkj41110

commit sha 1750e47c647efdeaf758bdd482f0943d1b715c80

Traversing the map uses map.entrySet() instate instead of map.keySet() (#5235)

view details

LiosWong

commit sha b3d74c30a821768543d482eb239651c127a6887b

Fix some typos (#5501)

view details

Mercy Ma

commit sha 2d2341e544927244843fda934529bd8445ea99bf

[Dubbo-5495] Services can't be exported for projects driven by annotation but with EnableDubbo/EnableDubboLifecycle not enabled (#5496) Fixes #5495

view details

Mercy Ma

commit sha 7214308b8adfae50c2def5f6f6af37f73d36b9ac

[Dubbo-5495] The dubbo services can't be exported (#5503) Fixes #5495

view details

ken.lj

commit sha 4848762b5f821688b27dd076f66d615f5f6a2f40

coordinate spring and dubbo shutdown hook. (#5504)

view details

ken.lj

commit sha 7e4b2f323cd264bc9f282d06b02e03adb49ed606

Fix multi protocol does not work when referencing in ProviderConfig (#5498) fix #5398

view details

Pugwoo Chia

commit sha 511af3fe12f0847d3a3324b6fb9593e2b8751528

support : Custom exception error code for http protocol (#5409)

view details

ken.lj

commit sha e77e4b165039b6f53b238d0b686254126f616783

add Apache License Header

view details

孙传磊

commit sha ad2d30ba90eaea6074fbe4c2497789e0545e915c

check whether the GenericFilter args and types length are the same (#4990)

view details

GungnirLaevatain

commit sha 4d6639e2ead5195a093a6b16f65140e20c7c4cb9

use ReflectUtils#isPrimitives instead of JValidator#isPrimitives (#5508)

view details

push time in a month

issue commentalibaba/arthas

Arthas启动后session没有显示AgentId

@cookiejoo 欢迎提PR改进: https://github.com/alibaba/arthas/blob/master/site/src/site/sphinx/web-console.md

cookiejoo

comment created time in a month

issue commentalibaba/arthas

Arthas启动后session没有显示AgentId

按文档执行:

./as.sh --tunnel-server 'ws://47.75.156.201:7777/ws'

看测试服务器能不能连上,能连上就是正常的。

连不上就检查:

  • 是否自己部署的tunnel-server有问题
  • 是否自己的网络有问题
  • 是否启动脚本参数配置有问题。执行 bash -x ./as.sh --tunnel-server 'ws://47.75.156.201:7777/ws' 查看具体的脚本参数是否传递正确
cookiejoo

comment created time in a month

issue commenthengyunabc/hengyunabc.github.io

科学上网的一些原理 | 横云断岭的专栏

@Ripo-za 博主您好,看了您的文章,很受益。但我一直不明白一个事情博主您好,看了您的文章,很受益。但我一直不明白一个事情,就是比如我们买了一台国外的服务器,然后我们在上面配置ssr的代理,这样连接该服务器就能fq了,这样就是说我们能直接与这台外国服务器相连吗?也就是我们能直接ping通国外的服务器吗?谢谢啦。

外国服务器自然是可以连通的。只是一些有明显特征的连接/端口会被断掉。

hengyunabc

comment created time in a month

issue commentalibaba/arthas

一图掌握Artha—常用命令汇总

@modou1618 图片比较在大,下载可能比较慢。也可以到这里查看:

https://gitee.com/arthas/arthas/issues/I180P1

w454196785

comment created time in a month

issue openedwebx/citrus

解决在IDEA里,autoconfig在跑JUnit测试时,不能输入的问题

IDEA 官方的issue:

  • https://youtrack.jetbrains.com/issue/IDEA-148698#focus=streamItem-27-2257633.0-0
  • https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000556544-Why-can-t-I-input-anything-from-console-when-i-run-unit-test-with-JUNIT

官方的解法是给IDEA配置启动参数 editable.java.test.console=true

实测在mac下面,要修改 /Applications/IntelliJ IDEA CE.app/Contents/bin/idea.properties ,增加

editable.java.test.console=true

image

理论上,修改 /Applications/IntelliJ IDEA CE.app/Contents/bin/idea.vmoptions,加上下面的配置也应该生效。但实际上并不起作用,原因不明。

-Deditable.java.test.console=true
  • 测试版本是 IntelliJ IDEA CE 2019.2

created time in a month

pull request commentapache/dubbo

fix typo:metodName

Thank you very much.

LiosWong

comment created time in a month

push eventapache/dubbo

LiosWong

commit sha 3308a197751eeb97baddf157f53813a3447d159f

fix typo:metodName (#5596)

view details

push time in a month

PR merged apache/dubbo

fix typo:metodName

What is the purpose of the change

https://github.com/apache/dubbo/blob/3211a1f9e10969c48d0193aac5825208a33296bf/dubbo-common/src/main/java/org/apache/dubbo/rpc/model/ConsumerModel.java#L175

metodName ==> methodName

Brief changelog

XXXXX

Verifying this change

XXXXX

Follow this checklist to help us incorporate your contribution quickly and easily:

  • [x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • [ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
  • [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • [ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
  • [ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
  • [ ] If this contribution is large, please follow the Software Donation Guide.
+1 -2

1 comment

1 changed file

LiosWong

pr closed time in a month

issue openedalibaba/arthas

Arthas IDEA插件

插件地址: https://plugins.jetbrains.com/plugin/13581-arthas-idea

使用文档: https://www.yuque.com/docs/share/fa77c7b4-c016-4de6-9fa3-58ef25a97948?#

感谢 @WangJi92 的工作。

created time in a month

issue commentalibaba/arthas

类似这种方法,该怎么通过trace去查看?

。。可能是的确没有方法的吧。。 sm 命令查看下。或者 jad 命令反编译看下。

NGLSL

comment created time in a month

startedAtarity/deploy-your-own-saas

started time in a month

GollumEvent

issue commentalibaba/arthas

类似这种方法,该怎么通过trace去查看?

试下直接 trace org.springframework.data.redis.core.DefaultValueOperations execute ,可能有参数不对。

NGLSL

comment created time in a month

issue commentalibaba/arthas

Arthas启动后session没有显示AgentId

查看 ~/logs/arthas/arthas.log ,看有没有错误信息。 另外,手动测试下目标网络 7777 端口 是否连通的。

cookiejoo

comment created time in a month

issue commentalibaba/arthas

logger使用后不显示

最好提供可运行的demo,不然没法下手。

yangtao198536

comment created time in a month

PR opened apache/dubbo

add sources profile
+19 -0

0 comment

1 changed file

pr created time in 2 months

create barnchhengyunabc/dubbo

branch : add_sources_profile

created branch time in 2 months

issue commentalibaba/arthas

pass云上使用profiler问题

@xiangqingyijiu 可以到 async-profiler 下面提issue,我这边没有环境,也无能为力。

xiangqingyijiu

comment created time in 2 months

issue commentapache/dubbo

dubbo 生成动态代理的时候 classLoader默认获取有问题

@yananliuyanjiang 可以提供测试的demo不?

yananliuyanjiang

comment created time in 2 months

push eventalibaba/arthas

hengyunabc

commit sha 4cf5d3b3a48dbdcbc186e57ad323e2e7593b917a

Avoid append spy jar to BootstrapClassLoader multiple times. fix #996

view details

push time in 2 months

issue closedalibaba/arthas

pass云上使用profiler问题

我使用的是3.1.7版本 我在pass云上使用profiler start 命令 1577262540054353324059 执行默认的cpu报错,事件alloc可以成功,命令停止后,火焰图成的内容不对 1577262773308337900001

closed time in 2 months

xiangqingyijiu

issue commentalibaba/arthas

pass云上使用profiler问题

容器本身权限不够,参考: https://github.com/jvm-profiling-tools/async-profiler

xiangqingyijiu

comment created time in 2 months

more