- 6225 Views
- 1 replies
- 4 kudos
I am trying to connect to databricks using java code. Can someone help me please? Here is the code so far I have got::
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Properties;
...
- 6225 Views
- 1 replies
- 4 kudos
Latest Reply
@Dipak Bachhav​ do you have any restriction in terms if IP to access databricks, in case of that you need to enable particular ip from security groups
by
ptawil
• New Contributor III
- 1899 Views
- 2 replies
- 4 kudos
Here is some model I created:class SomeModel(mlflow.pyfunc.PythonModel):
def predict(self, context, input):
# do fancy ML stuff
# log results
pandas_df = pd.DataFrame(...insert predictions here...)
spark_df = spark...
- 1899 Views
- 2 replies
- 4 kudos
Latest Reply
Any updates on this? I am running into the same issue@Patrick Tawil​ were you able to solve this problem? If so, do you mind sharing?
1 More Replies
- 7568 Views
- 5 replies
- 6 kudos
Hi!We have this dbt model that generates a table with user activity in the previous days, but we get this vague error message in the Databricks SQL Warehouse.Job aborted due to stage failure: Task 3 in stage 4267.0 failed 4 times, most recent failure...
- 7568 Views
- 5 replies
- 6 kudos
Latest Reply
@Mattias P​ - For the executor lost failure, is it trying to bring in large data volume? can you please reduce the date range and try? or run the workload on a bigger DBSQL warehouse than the current one.
4 More Replies
- 791 Views
- 3 replies
- 1 kudos
say, I want to download 2 files from this directory (dbfs:/databricks-datasets/abc-quality/") to my local filesystem, how do I do it?I understand that if those files are inside FileStore directory, it is much straightforward, which someone posts some...
- 791 Views
- 3 replies
- 1 kudos
Latest Reply
Pat
Honored Contributor III
Hi @THIAM HUAT TAN​ ,isn't this dbfs://databricks-datasets Databricks owned s3:// mounted to the workspace? You got an error - 403 access denied to PUT files into the s3 bucket: https://databricks-datasets-oregon.s3.us-west-2.amazonaws.com you shoul...
2 More Replies