All Products
Search
Document Center

Enterprise Distributed Application Service:Error code: HSF-0020

Last Updated:Mar 11, 2026

Error message

WARN taobao.hsf - HSF service: com.taobao.hsf.jar.test.HelloWorldService:1.0.zhouli is repeatedly initialized.

Cause

High-Speed Service Framework (HSF) uniquely identifies each service by its service name and version. A single HSF process cannot publish or subscribe to two services that share the same name and version but belong to different groups.

This warning appears when the configuration file contains duplicate name-version pairs with different group values. For example:

com.taobao.hsf.jar.test.HelloWorldService 1.0 groupA
com.taobao.hsf.jar.test.HelloWorldService 1.0 groupB

Both entries resolve to the same service identity (com.taobao.hsf.jar.test.HelloWorldService:1.0), which triggers the repeated initialization warning.

Resolution

  1. Open the HSF configuration file for the affected application.

  2. Search for the service name and version from the warning message. In this example, search for com.taobao.hsf.jar.test.HelloWorldService with version 1.0.

  3. Identify duplicate entries that share the same name and version but specify different groups.

  4. Remove the duplicate entry so that only one entry remains per name-version pair:

    com.taobao.hsf.jar.test.HelloWorldService 1.0 groupA