<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.8</li>
<li>Operating System version: ANY</li>
<li>Java version: 8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>Use 2 Registry (zookeeper://127.0.0.1:2181、zookeeper://127.0.0.1:2182)</li>
<li>Run 2 Providers.</li>
<li>Implement a loadbalance with SPI (xxx=XxxLoadBalance)</li>
<li>Run a consumer use xxx loadbalance(&lt;dubbo:reference id="demoService" check="false" interface="org.apache.dubbo.demo.DemoService" loadbalance="xxx"/&gt;), and XxxLoadBalance will be called twice. The first time, select a registry, the second time, select a provider.</li>
</ol>
<p dir="auto">Here should use random loadbalance only,  when select a registry。</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.2-SNAPSHOT</li>
<li>Operating System version: mac os</li>
<li>Java version: 1.8.0_131</li>
<li>maven version: Apache Maven 3.3.9</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">maven package -Dmaven.test.skip</p>
<p dir="auto"><code class="notranslate">[ERROR]     Non-resolvable parent POM for org.apache.dubbo:dubbo-serialization-gson:[unknown-version]: Could not find artifact org.apache.dubbo:dubbo-serialization:pom:2.7.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 19, column 13 -&gt; [Help 2]</code></p>