You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2013/09/12 23:15:57 UTC

[jira] [Updated] (AMBARI-3213) Ambari throws SQL exception when dfs.datanode.data.dir exceeds 10000 characters

     [ https://issues.apache.org/jira/browse/AMBARI-3213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sumit Mohanty updated AMBARI-3213:
----------------------------------

    Attachment: AMBARI-3213.patch

Increased the column size. Opening a different JIRA to investigate the option of not storing disk info in the DB and have the details held in memory. The details can be refreshed periodically to alert if remaining disk space hits a critical limit.
                
> Ambari throws SQL exception when dfs.datanode.data.dir exceeds 10000 characters
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-3213
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3213
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.4.0
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: 1.4.1
>
>         Attachments: AMBARI-3213.patch
>
>
> PROBLEM: If the dfs.datanode.data.dir exceeds 10000 characters then the Ambari installation fails throwing a SQL exception:
> Internal Exception: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(10000) 
> Error Code: 0 
> Call: UPDATE hosts SET disks_info = ? WHERE (host_name = ?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira