Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metaclient timeout use paramter from configs #4

Merged
merged 4 commits into from
Oct 22, 2021

Conversation

Codelone
Copy link
Contributor

No description provided.

@Nicole00
Copy link
Contributor

Nicole00 commented Oct 19, 2021

Thanks again for your contribution, please make code format first~

@@ -15,10 +15,10 @@ import com.vesoft.nebula.meta.{PropertyType, Schema}
import scala.collection.JavaConverters._
import scala.collection.mutable

class MetaProvider(addresses: List[Address]) extends AutoCloseable {
class MetaProvider(addresses: List[Address], timeout: Int, connectionRetry: Int, executionRetry: Int) extends AutoCloseable {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parameters are changed, please sync the test code to make the compile works.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PropertyType.GEOGRAPHY not exists ,how to fix it

Copy link
Contributor

@Nicole00 Nicole00 Oct 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PropertyType.GEOGRAPHY has been supported in the latest java client, maybe your local maven repo is old. If you use IDEA, you can config it through preferences -> Build,Execution,Deployment -> Build tools -> Maven, choose Always update snapshots

@Nicole00
Copy link
Contributor

Nicole00 commented Oct 22, 2021

Hi liyanl, you need to modify the Instantiate of MetaProvider in MetaProviderTest file.

Copy link
Contributor

@Nicole00 Nicole00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Nicole00 Nicole00 merged commit aaa0c8a into vesoft-inc:master Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants